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

[Solved] Grouping really slow

4 Answers 167 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michele
Top achievements
Rank 2
Michele asked on 11 Aug 2009, 08:51 AM
Hello,
I'm currently using Telerik Silverlight Controls for Silverlight 3, and I'm facing really bad performance while grouping/ungrouping...
I've got a grid with 47 items and it takes 6/7 second to group... I've tried with RealTime then Deferred load (thinking it would affect but nothing happens), I've got a sum function and even commenting it it wouldn't increase performance... any suggestion about?

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 11 Aug 2009, 08:58 AM
Hi Paolo,

On this demo you can group 1mil. items in less than 3 seconds (screenshot attached). Can you post a bit more info about your case? How many columns you have in this grid?

Regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Michele
Top achievements
Rank 2
answered on 11 Aug 2009, 09:41 AM
Hello Vlad,
I've seen your demo (I have just saw it before), and you're showing the grid group collapsed, if I do so I've got a fast response... problems occurr in the case you show them expanded

I use this code :

    private void gvAccountPosition_DataLoaded(object sender, EventArgs e) 
        { 
            if (gvAccountPosition.GroupDescriptors != null && gvAccountPosition.GroupDescriptors.Count > 0) 
            { 
                gvAccountPosition.ExpandAllGroups(); 
            } 
        } 

If I comment them, it's fast but unusable for us...

Is it a rendering problem?
0
Vlad
Telerik team
answered on 11 Aug 2009, 12:10 PM
Hi Paolo,

I've made for you small example with 50 items and explicit group expanding (attached) using our latest build and Silverlight 3. The grid is fast in my demo!

If you can make for us small example where we can reproduce this slowness we will gladly investigate what can be the problem in your scenario.

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Michele
Top achievements
Rank 2
answered on 11 Aug 2009, 01:11 PM
Hello Vlad,
I've modified your demo, added some column (12 as mine) and it slow down a lot, try to add/remove grouping, the ticket id is :  234200

Thanks

Paolo
Tags
GridView
Asked by
Michele
Top achievements
Rank 2
Answers by
Vlad
Telerik team
Michele
Top achievements
Rank 2
Share this question
or