Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    LiveGrid and ScrollToRow

    If you have a LiveGrid with a large number of records, and you want to scroll to a specific row that is larger than the data page size(I assumed), it does not work.
    I've manage to write something that sort of works, by using a loop and comparing the ListGrid's VisiblesRows()[0] to pixels size of the row I want to scroll to, and then use the scrollBodyTo()'s top parameter to move the record into view.
    Other than the fact that it's difficult precisely position the record to the top of the grid, it does a lot of visual scrolling.

    What would be the correct/better way to do it ?
Working...
X