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

[Solved] optimize the load of a grid with grouping

1 Answer 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
BRIAN
Top achievements
Rank 1
BRIAN asked on 27 Aug 2009, 12:34 PM
Hi Telerik Team !

I would like to know some thing about the grouping in the radgrid !
Some Days ago, i have a big grid with 1000+ rows and the load of this page was very long ! So boring... not cool
So i now put a group by one field and groupsdefaultExpanded property of the mastertable at "false".

It seems the page load is faster but it is always more than 10sec ! And the display is only 4 or 5 groupheaderitems, so it is too long

So my question is : is the grouping load data and don't display it ?
 If yes, is there a way for load data only when i expand a group ? If not, why the time is so long and can i load quickly my grid

Thanks in advance !

1 Answer, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 27 Aug 2009, 05:11 PM
Grouping still requires all of the entries to load, from what I know (I could be wrong though). You could look into using LINQ like in this demo, that might be able to help you with optimizations quite a bit. Using .NET 3.5 and LINQ should improve performance.
Tags
Grid
Asked by
BRIAN
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Share this question
or