Bonjour !
I worked on JSONRPCQueryReadStore and I wanted to make the transition smoother when scrolling down the grid to avoid the user to see "blank" grid when data is loading.
The workarround I found is to request data in advance by overwriting dojox.grid.scroller.base.getScrollBottom method as the following :
getScrollBottom: function(inTop){
+ return (this.windowHeight >= 0 ? inTop + this.windowHeight + 300 : -1);
- return (this.windowHeight >= 0 ? inTop + this.windowHeight : -1);
}
My question is to know if the way I did is ok (other workarround ?) and if the parameter can be configurable in the future in grid ?
Many thanks ! Grid is great !
Thomas UNG

i think if you increase the
i think if you increase the rowsPerPage on the grid then it should render more rows and achieve what you're trying to do. by default, rowsPerPage=25.
Hi neonstalwart, Thanks for
Hi neonstalwart,
Thanks for your answer ! rowsPerPage doesn't prevent the grid transition. Event if you inscrease rowsPerPage, grid will only requestRows when we reach the end of the page, which is too late. Because of that, we see empty grid rows loading ...
My workarround is working but wonder if there is other sol...
cheers,
thomas