Hello out there,
I've implemented a lazy load algorithm for the grid before using some grid events. This worked very good for all scrolling possibilities (with the scroll bar and also with the keyboard): the grid loads the next row block when the end of the grid/data is reached.
Now I want to implement this with an grid in cards mode and this seems not to work so easily.
Can someone suggest some way to do this easily?
Thanks alot,
Frank
Hi Frank,
It's hard to say without knowing more about which events you are using to load the grid. Why does CardView make any difference?
Are you aware that the UltraDataSource allows you to load the data into the grid on-demand? Check out the Virtual Mode sample in the WinGrid Samples explorer.
At the moment I'm using normal DataSets and the Grid event "AfterRowRegionScroll" to load new chunks of data from an WCF service.
This event is not called in the card mode, instead AfterCardsScroll is called, but this behaves different.
Is it possible to load blocks (e.g. 40 rows) at once when using the UltraDataSource Virtual Mode?
Thanks,