Slickgrid get row index by id

Is there a way to get the row index (row index in the visible grid) using an ID that will also work with a sorted / grouped network?

I am trying to use the scrollRowIntoView function from Slickgrid, which requires a row index. Now my problem is that I know the row identifier, but not the index that the row has in the grid. I also use groups, which means that I cannot find the row index in the data.

+4
source share
1 answer

You can use dataView.getRowById() to get the index of the filtered grid, or you can use dataView.getIdxById() to get the index of the identifier from the entire data set.

+10
source

All Articles