Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Format Table Row Auto Numbering

Avatar

Level 9

I am using the following code to autonumber dynamic table rows:

this.rawValue = this.parent.parent.index +1;

but I would like the numbers to appear with a period - like this 1. or 2.

How do I add this?

 

this.rawValue = this.parent.parent.index +1 + ".";

does not work

1 Accepted Solution

Avatar

Correct answer by
Level 3

Perhaps you have too many parents

try: this.rawValue = this.parent.index + 1;

View solution in original post

2 Replies

Avatar

Correct answer by
Level 3

Perhaps you have too many parents

try: this.rawValue = this.parent.index + 1;

Avatar

Level 9

All set - thank you!