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

Copy to the last row a table

Avatar

Level 1

H,

I have created a table that adds a row when clicking on a button. The next step for me is to copy the information I have in some fields to the correspondent columns of the created row( last row) of the table. Since the row number alters I don't know how to do that.

regards

0 Replies

Avatar

Level 10

Hi,

The addInstance() method returns the same object as if you have executed a resolveNode targeting the row added.  So if your row was called Row1 and contained a cell with a field called TextField1 then you could add a row and set the field's value with code like;

var newRow = Table1._Row1.addInstance();

newRow.TextField1.rawValue = "some information";

Regards

Bruce