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

Sorting gridview rows

2 Answers 98 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Vladu Bogdan
Top achievements
Rank 1
Vladu Bogdan asked on 06 Jan 2010, 07:58 PM
Hi, I am dealing with a difficult issue, I need to manipulate thousands of rows into rad gridview control and also have accurate sorting support in the same time, the user can chage the sorting criteria after all cells within the gridview, I cannot bring all rows from a single shoot as the data package size that must be sent through the network can exceed 5 Mb and I don't want the user to be waiting a couple of minutes until all data is loaded into the grid, I would prefer to initially add the first chunk of data which will populate the first page sorted after a predefined criteria, then if the sort criteria is changed or the page is changed I can again add the correct chunk of data to be displayed by calling a method with sorting criteria and page info parameters, this is more like a custom algorithm that I though of but, is there some built in functionality that can help me acomplish this sort of operations more stylish and more adequate if I can say so, or why not more quikly? Does rad gridview have some hidden support for this type of issues?

Many thanks!

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 07 Jan 2010, 07:29 AM
Hello,

The grid can operate completely on your data-base server if you bind RadGridView to some LINQ provider like LINQ to SQL, Entity Framework, Open Access, etc. You can check this demo for more info:
http://demos.telerik.com/wpf/?GridView/WPF/Performance/ServerSide - you need to download our demos locally to run this!

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Vladu Bogdan
Top achievements
Rank 1
answered on 07 Jan 2010, 08:53 AM
Thanks alot,

I will investigate what you've recommended!
Tags
GridView
Asked by
Vladu Bogdan
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Vladu Bogdan
Top achievements
Rank 1
Share this question
or