Last Updated: 16 May 2019 08:17 by ADMIN
Created on: 24 Nov 2011 06:54
Category: GridView
Type: Bug Report
FIX. RadGridView - the control is slow when the last child view contains a large number of rows
1. Create a new project and setup hierarchy
2. Add a large number of rows as child rows to the last row at first level
3. Run the project and try to expand the last row
1 comment
Posted on: 16 May 2019 08:17

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 issue is duplicate of

Dimitar Ivanov