06-15-2023 04:49 AM
Hi,
Is there a property that can be set either through the Gweb UI or JSLI to set the collapse behavior of a grouped data grid with colapsed groups?
Like in the image below tghe group "Disconnected" is collapsed. When I chnage the value of the checkbox control in the selection column it uncollapses the group "Disconnected" which is not what I would like. The collapse states should remain unaffected by anything that happens in uncollapsed rows.
Solved! Go to Solution.
06-15-2023 07:45 AM
To complete my colleague's question, I'll add a simple example to illustrate the problem:
06-19-2023 07:24 PM
Unfortunately the collapsed groups expanding on value change is a limitation of the underlying third-party JavaScript control used by the Data Grid. There isn't a reasonable way to preserve which groups are expanded on value updates such as when the user edits the control value.
An alternative to consider may be the tree control which has first class single / multi selection support unlike the Data Grid.
06-20-2023 02:32 AM
Too bad, can't have it all 😉
Thanks for replying. We'll have a look into the tree control for future updates to the application.