Last Updated: 16 May 2019 08:10 by ADMIN
Created on: 20 Apr 2011 05:42
Category: GridView
Type: Bug Report
FIX. RadGridView - is slow when there is a large amount of data in hierarchy mode
- Create a new project containing RadGridView
- Build hierarchy with large text data in cells
- Set the AutoSizeRows property to true and AutoSizeColumnMode to Fill
- Run the project, scroll down and try to click on a cell
1 comment
Posted on: 16 May 2019 07:58

The issue is inside the measure and arrange logic of the child templates. When setup in hierarchy the grid will create all of its child rows when a particular hierarchy template gets expanded. With thousands of child records this will impact the performance. The recommended solution for this scenario is to use the scrollbars inside the child templates:  Copy Code
this.radGridView1.UseScrollbarsInHierarchy = true;

Setting the property to true will force the detail row to use fixed height when measuring and this way not all of the rows will be created.

Note that the issue duplicates