I have a pretty involved Grid I'm building that involves both grouping and detail rows.
The documentation uses setExpandedState with an array of collapsedIds. This sets the 'expanded' field for everything in the grouped data. It even sets the 'expanded' field for the actual grid rows.
I would like to be able to toggle the detail row and hide it, but in order to do that, I have to create a 'groupId' property for each grid row entry so that setExpandedState doesn't assign 'expanded' as true.
Is there a different way to do this? It seems odd that I would have to set a 'groupId' property each grid row's data when it is not itself a group.
Just upgraded and tested with 5.14.0, but it happened in 5.13 as well.