This question is locked. New answers and comments are not allowed.
Our users want a page up/page down button on the screen that they can tap to page up/down the grid. This is useful for them as they quickly memorize how many page downs it takes to get to a certain row for example.
Right now it is tough to implement this sort of thing as there is no access to the current scroll position to adjust. The only options are to scroll an item (or index) into view. I have wired up my own page up/down buttons which just adjust an index I am manually keeping track of. The problem with this approach is that if the user scrolls the grid themselves, then I have no idea to factor that in as I am keeping track of the scroll index myself.
Normally I would just get the current scroll position, and adjust it by the height of the window - but like I said there is no way to get/set the current scroll position. Another route would be to get the first item that is visible in the grid and scroll an index into view relative to that item's position, but I don't see a way to do that either.
Thanks for any suggestions! If there's any change to add in built in page up/down functionality to the grid itself that would be nice too.
Right now it is tough to implement this sort of thing as there is no access to the current scroll position to adjust. The only options are to scroll an item (or index) into view. I have wired up my own page up/down buttons which just adjust an index I am manually keeping track of. The problem with this approach is that if the user scrolls the grid themselves, then I have no idea to factor that in as I am keeping track of the scroll index myself.
Normally I would just get the current scroll position, and adjust it by the height of the window - but like I said there is no way to get/set the current scroll position. Another route would be to get the first item that is visible in the grid and scroll an index into view relative to that item's position, but I don't see a way to do that either.
Thanks for any suggestions! If there's any change to add in built in page up/down functionality to the grid itself that would be nice too.