Is there a way to get the index of a row (row-index in the visible grid) by it's ID, which will also work with a sorted/grouped grid?
I am trying to use the function scrollRowIntoView from Slickgrid, which requires the index of the row. Now my problem is that I know the ID of the row, but not which index the row has in the grid. I also use groups which means I cannot search for the row-index in the data.
You can use dataView.getRowById()
to get the index of a filtered grid or you can use dataView.getIdxById()
to get the index of the ID from the entire set of data.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With