Hello folks,
I have a table(PersonsTable) as the following:
First Name | Last Name | |
---|---|---|
David | Lans | Delete Person |
Joe | Magican | Delete Person |
John | Bryce | Delete Person |
Now, I want to remove the person row which I clicked on it's Delete Person button.
What is the code for it?
Thank you,
Yair
Views
Replies
Total Likes
You need to determine which instance the current row has.
This can be done in the following way
_Row.removeInstance(Row.instanceIndex);
Views
Replies
Total Likes
Hi,
Can you please show me the full syntax reference?
What is _Row? what is Row.instanceIndex?
Yair
Views
Replies
Total Likes
Well, the syntax depends on the name of your rows.
In my example the rows are named "Row".
_ is the short expression to call the properties and methods of the instance manager.
_Row.removeInstance(); can also be written as Row.instanceManager.removeInstance()
Views
Replies
Total Likes