Row Virtualization / Rows Not Expanding

4 posts, 0 answers
  1. Kyle
    Kyle avatar
    3 posts
    Member since:
    Oct 2017

    Posted 06 Oct Link to this post

    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.
  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1202 posts

    Posted 10 Oct Link to this post

    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.
  3. Kyle
    Kyle avatar
    3 posts
    Member since:
    Oct 2017

    Posted 12 Oct in reply to Ivan Ivanov Link to this post

    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.
  4. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1202 posts

    Posted 17 Oct Link to this post

    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.
Back to Top