I receive a list from outside, then I serialize that list to JSON to add as a source to my Datagrid
The case is by now I need to do a delete on the selected row from user, so I think I will need to retrieve the index of the row user selected like in the image when I choose the 32 line then it will retrieve the index of 31 to me, after that I can use the ListRemove(31) to remove the selected row
Curently Im using the onCellClick but it just retriece the rownumber, If I at the page 3 it wont retrive the "32" as I want, instead RowNumber will be "2" (15 records each page). So Im very curious on how I can retrieve the "32" from page 3 each time I click the row 32
Hi,
Please refer below threads,
https://www.outsystems.com/forums/discussion/77413/outsystems-data-grid-get-current-right-clicked-row-and-add-values-as-context-it/
https://www.outsystems.com/forums/discussion/77776/outsystems-data-grid-how-to-get-current-row-number-on-clicking-any-column-in-gr/
Hope it helps you.