This is a migrated thread and some comments may be shown as answers.

Load only visible data on demand

1 Answer 153 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Uli
Top achievements
Rank 1
Uli asked on 20 Nov 2008, 12:42 PM
Is there a way to accomplish loading data on demand with WPF GridView?
That means gridview should ask me how much DataItems to render to show an appropriate scrollbar.
Then when you scroll dataitems into view,  GridView fires an event, where in I can load only that data that is visible.
I not only need UI virtualization but rather data virtualization.
If not, does GridView support paging like asp.net Gridview?

1 Answer, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 21 Nov 2008, 04:57 PM

Hi Uli,

Thanks for your interest in our RadGridView for WPF.

Still RadGridView for WPF does not support paging functionality out of the box. However it is in our To-Do list and it will be implemented in the RadGridView for Silverlight first.

Meanwhile you can accomplish your task quite easily. You can define the desired total number of items per page and the total page count.

Please follow the link to a blog post illustrating how to do this.

http://blogs.telerik.com/VladimirEnchev/Posts/08-08-13/How_To_RadGridView_for_WPF_paging_sorting_and_filtering_of_1mil_records_with_LINQ_to_SQL.aspx?ReturnURL=%2fVladimirEnchev%2fPosts.aspx

If you have any questions, please feel free to ask.

Regards,

Rosi
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Uli
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Share this question
or