132
Views
1
Comments
[Datagrid Outsystems] How can I retrieve the row number from data grid?
Question

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

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.