I’ve created a layout with a rowtablearea2 in which I have added a icon with a method attached to it. I would like to be able to allow a user to click on the image to delete the row associated with the icon, but I can’t figure out a way to determine the row number on which the click is being performed.

Any help would be greatly appreciated.



Hi Norm,

Add an NJX:EVENTDATA control to your page. You can retrieve the index from the XCIINDEX field which is generated for this control.
You’ll find a subchapter “NJX:EVENTDATA” in the NJX Documentation.

Best Regards,