Hierarchy GridView is not working for huge children capacity

1 Answer 158 Views
General Discussions GridView
Aleksey
Top achievements
Rank 1
Veteran
Iron
Aleksey asked on 29 Sep 2021, 02:08 PM | edited on 30 Sep 2021, 09:27 AM

RadGridView has slow performance if grid with hierarchical data has huge children capacity (e.g. 2000 children for each node).
I'm waiting a lot of time for expand node, very slow scroll, application brings up a lot of memory.

Aleksey
Top achievements
Rank 1
Veteran
Iron
commented on 30 Sep 2021, 09:26 AM

I attached example from SDK examples with one node and 2000 children - you can see slow performance for expand, scroll and etc.

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 04 Oct 2021, 09:01 AM

Hello Aleksey,

Thank you for the provided project.

Generally, such performance issues would be expected. When a HierarchyChildTemplate is defined, there is no way for the control to be aware of what is applied within the custom DataTemplate. In such a case the child grid is being measured with infinity, meaning that its virtualization mechanism is turned off. You can try setting a fixed Height, or MaxHeight of the child instance of RadGridView to ensure that the virtualization is not affected. Please take a look at the Degraded Performance topic for more information on this matter.

Regards,
Dinko
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
General Discussions GridView
Asked by
Aleksey
Top achievements
Rank 1
Veteran
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or