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

Low Performances in Expand All Groups

10 Answers 122 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Yolanda
Top achievements
Rank 1
Yolanda asked on 22 Dec 2010, 03:38 PM
We are experimenting low time response when we try to expand groups in our gridview.

In our exemple we have around 700 entries (~4MB) to be shown in the grid with one level group, nowadays we only have 3 groups. Expanding all groups takes around 7 seconds.

We are planning to use the grid to show about 17000 entries (~23MB) in 5 grouping levels and we are really afraid about the spent time when expanding groups. A stimated time of 20 seconds isn't acceptable for our client , so how can performaces be improved?

We already have problems about scrolling performances and if we add low performances in expanding groups the client will be really really unhappy....

Regards
  Yolanda

10 Answers, 1 is accepted

Sort by
0
Nedyalko Nikolov
Telerik team
answered on 28 Dec 2010, 12:19 PM
Hi Yolanda,

Indeed with the current version of RadGridView there is a significant performance hit with grouping more levels (>3) and when AutoExpandGroups is true. The problem comes from the fact that in that case RadGridView iterates all items (groups and subgroups) in order to calculate a proper extend height (used for scrolling). We have plans to sacrifice calculating this information and this will result in a great performance boost while scrolling with such cases will be a little bit weird (but expected). What I mean initially only visible groups will be expanded (so only their items will be iterated), then when scroll reached new group this group will automatically expand due to AutoExpandGroups property value but this will reflect in a greater extend height and scroll thumb will jump a little.
Same behavior like doing this manually - expand first group and scroll to the end, second group is not expanded while expanding it will enlarge extend height. We are doing our best to provide this optimization as soon as possible, but I cannot commit with any specific date or release.
Sorry for the inconvenience caused.

Greetings,
Nedyalko Nikolov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Daní
Top achievements
Rank 1
answered on 10 Mar 2011, 07:02 PM
Hello,

Any advance in this issue? I have a GridView with about 1200 items and AutoExpandGroups property set to "True" and is consuming a lot of memory and cpu Profiling my application I can see that I have about 1200 GridViewRow instances. I'm using 2010.3.1314.1040 version.
0
Vlad
Telerik team
answered on 11 Mar 2011, 08:08 AM
Hi,

 Please verify if the grid is not measured with infinity. 

Best wishes,
Vlad
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Daní
Top achievements
Rank 1
answered on 11 Mar 2011, 09:15 AM
Hi Vlad,

I don't think so. GridView is inside a Grid with two RowDefinitions, first one has height set to auto but the second one has height set to star and the GridView is placed on the second row. The container Grid is the LargeContent of a RadFluidContent placed inside a RadTileViewItem. The RadTileView is the content of a RadWindow showed when user press a button.
0
Daní
Top achievements
Rank 1
answered on 11 Mar 2011, 02:50 PM
Hi Vlad,

any word about this issue? How can i ensure that RadGridView is measured with infinity?

Thanks
0
Vlad
Telerik team
answered on 11 Mar 2011, 02:53 PM
Hello,

 The easiest way to check this is to verify if RadGridView have vertical scrollbar. 

Greetings,
Vlad
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Daní
Top achievements
Rank 1
answered on 14 Mar 2011, 09:52 AM
Hi Vlad,

Yes, RadGridView has vertical scroll bar. So, have you sloved this issue: low perfomance when AutoExpandGroups property is set to true ,or is there something I'm doing wrong?
0
Vlad
Telerik team
answered on 14 Mar 2011, 10:16 AM
Hello,

Can you send us runnable example where we can reproduce this?

All the best,
Vlad
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Daní
Top achievements
Rank 1
answered on 14 Mar 2011, 03:56 PM
Hello Vlad,

I will open inmediately a support ticket with an example

Thanks
0
Vlad
Telerik team
answered on 14 Mar 2011, 04:25 PM
Hello Daní,

 I've checked your project and I believe that this slowness is mainly because RadTileView. I'm not sure if you are aware however we've managed to optimize the component greatly and to illustrate you this I've added reference to our Q1 2011 Beta binaries to your project (attached to your support ticket).

 The official release of Q1 2011 will be this week.

Greetings,
Vlad
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
GridView
Asked by
Yolanda
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Daní
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or