Delete row in a table

Avatar

Avatar

Staffle

Avatar

Staffle

Staffle

19-08-2015

Adding table rows works fine when I use this script: Table.Row1.instanceManager.addInstance(1);

When users click Delete, it always deletes the second (and shifts the rest up), no matter what row they want to delete. I have the following script to delete a table row:

Table.Row1.instanceManager.removeInstance(1);

What do I need to change in order to delete the row that is clicked?

View Entire Topic

Avatar

Avatar

Staffle

Avatar

Staffle

Staffle

19-08-2015

Thanks a mill Magus!

Works like a charm !