Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
Group Collapsed State
posted

When I use the Continuous Virtualization Demo found here http://ko.infragistics.com/products/jquery/sample/grid/continuous-virtualization

I notice that if you collapse a group and then scroll down, the group loses it's collapsed state.

Is this by design? 

Also, when I saw this blog post http://ko.infragistics.com/community/blogs/damyan_petev/archive/2012/04/25/live-data-starring-the-jquery-grid-websockets-and-knockoutjs.aspx

I wanted to know if I have groups applied on the grid with some being collapsed and others being expanded, once data gets loaded will each group's state be preserved or will the entire grid wipe out what the user has done once the data changes?

  • 10685
    Offline posted

    Hello again,

    I am just checking about the progress of this issue.
    Please feel free to contact me if you have any questions regarding the mater.

  • 10685
    Offline posted

    Hello Robin,

    It is the default behavior (the group loses its collapsed state) and is to be expected, because when scrolling down and virtualization is Enabled, the same DOM elements are reused to render the new data (rows). This is why when you scroll back to the beginning, all collapsed groups will be rendered with the default state and all are expanded.
    I have created a CodeSample regarding this matter.

    Referencing the official documentation: With Fixed Virtualization, all igGrid features except the Grouping features (i.e. Paging, Sorting, Filtering, and Selecting), work as expected. http://help.infragistics.com/Help/Doc/jQuery/2013.1/CLR4.0/html/igGrid_Virtualization_Overview.html

    Regarding the second question you asked - The Blog Article has been updated and you could see details there.

    Thank you for choosing Infragistics components!

    VirtualizationAndGroupCollapsed.zip