Avatar

Level 2

Hello Gurus,

How can I get the index of a row when it is added dynamically.

Capture.PNG

When user clicks on the "-" button he should get the index of the row on which he has clicked the button.

I have tried it using the code

var var1 = (data.Design_page1.Working_times_subform.Working_Table.Row1.instanceManager.count-1);

But it gives me the total row count.I want the index of the particular row.

Thanks.

Regards,

Nikhil