DataGrid Grouping Expanded to false at first render #371

Closed
opened 2026-01-29 17:36:14 +00:00 by claunia · 0 comments
Owner

Originally created by @daletman on GitHub (Apr 12, 2022).

Describe the bug
When you use

void OnGroupRowRender(GroupRowRenderEventArgs args) { if (args.FirstRender) { args.Expanded = false; } }

to make the rows collapsed at first render, all rows will expand, if you expand and collapse a single row.

To Reproduce

  1. Go to: https://blazor.radzen.com/datagrid-grouping-api
  2. Close the expanded row.
  3. All (in this example it's only one) other collapsed rows will expand.

Expected behavior
All other rows should stay collapsed.

Originally created by @daletman on GitHub (Apr 12, 2022). **Describe the bug** When you use `void OnGroupRowRender(GroupRowRenderEventArgs args) { if (args.FirstRender) { args.Expanded = false; } }` to make the rows collapsed at first render, all rows will expand, if you expand and collapse a single row. **To Reproduce** 1. Go to: https://blazor.radzen.com/datagrid-grouping-api 2. Close the expanded row. 3. All (in this example it's only one) other collapsed rows will expand. **Expected behavior** All other rows should stay collapsed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#371