Hi
I have a button within a row within a table.
I have added an event listener to the whole table within the controller.
What I need is away of determining the button that was clicked and the row index that the button is contained within.
I can get the button id by doing e.source.id and I can get the row by doing e.row, which returns the row object but when I try and retrieve the row index doing e.row.index I receive undefined.
Can I specifically add an index to a row within the XML or am I accessing the index incorrectly?
Any help would be greatly appreciated
Thanks