Add new instances to top of list (table or group) vs bottom

Avatar

Avatar

SI_MSD7

Avatar

SI_MSD7

SI_MSD7

04-11-2015

Is it possible to add new instances (i.e. of a table row, or subgroup) to the "Top" of the list vs bottom? New instances are typically added to the bottom of the group, but I have a case in which I'm trying to insert new instances of most recent Job History, so having the instances added at the top of the list is more beneficial.

Please advise and thank you in advance!!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

radzmar

MVP

Total Posts

2.6K

Likes

386

Correct Answer

485

Avatar

radzmar

MVP

Total Posts

2.6K

Likes

386

Correct Answer

485
radzmar
MVP

04-11-2015

Hi,

to add a instance on the top use the insertInstance() menthod instead of addInstance().


Table1._Row.insertInstance(0, true);


Answers (1)

Answers (1)

Avatar

Avatar

SI_MSD7

Avatar

SI_MSD7

SI_MSD7

04-11-2015

Wow, thank you! I didn't expect the solution to be so simple.