Using Virtualization and Grouping together in datagrid

Hi,

https://blazor.syncfusion.com/documentation/datagrid/virtualization#limitations-for-virtualization
Documentation states that "Group expand and collapse state will not be persisted".


Are there any plans to support retaining group expanded/collapsed states while using virtualization?

Thanks,
Kind regards


5 Replies 1 reply marked as answer

SP Sarveswaran Palani Syncfusion Team July 27, 2023 03:16 PM UTC

Hi Yunus,

Greetings from Syncfusion support.

We would like to inform you that we have already implemented support for the virtualization feature to persist the expand and collapse state. As a result, we will remove the limitation point from the UG documentation in one of our upcoming releases. This improvement ensures that the expand and collapse state will be properly maintained when using virtualization in our Grid component.

If you have any further queries, please get back to us.

Regards,
Sarvesh


Marked as answer

YU Yunus August 11, 2023 07:13 AM UTC

Hi,

There are issues about using virtualization and grouping together.

Please review attached project. What I try to achieve is set all groups as expanded initially and protect groups' expanded-collapsed state at each operation.
I can set the groups to be expanded at DataBound event, that's ok. Issues are:

1- If I remove a column, using ColumnChooser then columns/headers are not aligned. Refreshing the grid (Use Refresh Grid button) fixes this display. But then all groups are collapsed.

2- If I update data then all groups are collapsed (Use Update Data button)

3- If I change the order of columns then all groups are collapsed

Can you please help to solve thiese issues?

Thanks & kind regards



Attachment: SfGridTest_Grouping_20230811_e9c55bf1.rar


SP Sarveswaran Palani Syncfusion Team August 16, 2023 03:06 AM UTC

Hi Yunus,


Query: “If I remove a column, using ColumnChooser then columns/headers are not aligned”


We confirmed that the issue you reported happening after the 22.1.34 version. So, we recognize this as a breaking issue.


We have considered it as a bug and logged an issue “Misalignment of Columns/Headers in Virtualization Grouping” for the same. Thank you for taking the time to report this issue and helping us to improve our product. At Syncfusion, we are committed to fix all validated defects (subject to technological feasibility and Product Development Life Cycle) and this fix will be included in our any of our upcoming patch release. Until then we appreciate your patience.


You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.


https://www.syncfusion.com/feedback/46108/misalignment-of-columns-headers-in-virtualization-grouping


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization”


Query: “If I update the data and reorder the columns then all groups are collapsed”


We would like to inform you that when you update or reorder the columns, the grid gets refreshed. During this refresh, the grid changes from an expanded state to a collapsed state, which is the expected behavior of this feature. If you have any further questions, please get back to us.


Regards,

Sarvesh



YU Yunus August 24, 2023 01:18 PM UTC

Hi Sarvesh,

Thanks for your response.

Is it also possible to add

1- Ability to get the collapsed/expanded groups
2- Ability to expand/collapse some groups (not all) (maybe by Values of the grouped column)

Thanks & kind regards



MS Monisha Saravanan Syncfusion Team August 25, 2023 11:32 AM UTC

Hi Yunus,


We would like to inform that currently we don’t have support to expand/collapse only certain groups based on the provided data/ value. Please let us know if you have any concerns.


Regards,

Monisha


Loader.
Up arrow icon