Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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;