Hi,
I would like to have a Expand/Collapse All Grid Groups button in the Grid Header. I know this is possible to do so programmatically outside of the grid but my users want it inside the Grid.
Thanks,
Humayoon
using version 6.2
I have a button. If my items are already grouped, I can do the following:
```
private async Task ExpandCollapse()
{
_isExpanded = !_isExpanded;
var state = _grid.GetState();
if (_isExpanded)
{
state.CollapsedGroups = null;
state.ExpandedItems = _alerts;
}
else
{
state.CollapsedGroups = Enumerable.Range(0, _items.ToList().Count).ToList();
}
await _grid.SetStateAsync(state);
}