Expand my Community achievements bar.

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;