The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I have a grouping grid, in which I frequently switch from having groups, to having no groups, and back again.
What I need to do is persist the state of what was last expanded so, when I switch back to having groups, the same levels are still expanded.
Is there any way of doing this, or am I going to have to do the hard yards and do it all manually
ADAdministrator Syncfusion Team June 7, 2005 09:12 AM UTC
I think you will have to handle this yourself.
Doing this for a single grouped column at a time (no nested groups) is probably a modest stroll instead of hard yards. You could iterate through the collection of groups and save a list of the ones that are expanded. Here is a little sample.
http://www.syncfusion.com/Support/user/uploads/GGC_PersistGroupExpansion_47066060.zip
But to handle this for arbitrary nested groups will require you to turn this into a recursive algorithm which adds some complexity.