Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
185
Overriding Scrollbar Size
posted

We have the need to browse several million records using the xamDataGrid and intend on loading the data into memory "on demand" using a common paging model. The problem lies with the xamDataGrid only showing scrollbars that are relevant to the current number of records on the currently-loaded 'page'.

For example, we want to load 1 million records and set a page size of 1,000 records. Our dataset is populated with 1,000 rows, and xamDataGrid shows a scrollbar to navigate those 1,000 rows. But we would like the scrollbar to act like it was scrolling the full 1,000,000 rows, if the user scrolled to 50%, it would load records 500,000 to 501,000 into memory.

Is this possible? Or will we only ever see the total number of records currently in memory represented by the scrollbar?

 

(as a side-note, we are implementing filtering and limits on datasets so having to load 1,000,000 records is not realistic, but as an example to get the point and mechanism we need across I hope it worked).

Parents
No Data
Reply Children
No Data