Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Table numbering is skewed after 'delete' instance

Avatar

Level 4

I have a table that automatically numbers each added row of data. Unfortunately, if a row is deleted, the numbering is skewed. misnumber2.png

duplicate no 7.png

Here is the script I use:  form1.MinutesTable.Row1.Index::initialize - (JavaScript, client)

this.rawValue = this.parent.index + 1

If anyone knows why this is happening and what I can do to prevent it, I would appreciate the help.

Thanks in advance,

Jenny

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

use the layoutReady instead Initialize.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

use the layoutReady instead Initialize.