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

Row Virtualization / Rows Not Expanding

3 Answers 9 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kyle
Top achievements
Rank 1
Kyle asked on 06 Oct 2017, 04:25 PM
Using hierarchical data - Parent > Child1 > Child2 > Child3 with Row Virtualization ON, child rows are remaining unexpanded when setting child rows to expanded that are located near the bottom of the grid.  I believe row visualization is not allowing the expanded property to remain in its state when the row is scrolled into view.

3 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 10 Oct 2017, 01:45 PM
Hi,

Can you please try using ExpandHierarchyItem instead of setting IsExpanded = true. The first option caches the expanded state, so that it is correctly persisted when the UI virtualization reuses another container for this item.

Regards,
Ivan Ivanov
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Kyle
Top achievements
Rank 1
answered on 12 Oct 2017, 06:27 PM
Thanks for the suggestion.  Unfortunately, I posted in the wrong section - we're actually using TreeListView, not GridView.  Is there something similar?  Please move this thread to the correct area if it needs to be moved.
0
Ivan Ivanov
Telerik team
answered on 17 Oct 2017, 03:14 PM
Hello,

You can use ExpnadHierarchyItem for TreeListView too, as it inherits a lot of its functionality from RadGridView. Another option of RadTreeListView is to have data logic for controlling the expanded state and and use IsExpandedBinding

Regards,
Ivan Ivanov
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
GridView
Asked by
Kyle
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Kyle
Top achievements
Rank 1
Share this question
or