DataGrid with 'AllowColumnPicking' and 'AllowColumnReorder' always allows groupings #654

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

Originally created by @johanpolak on GitHub (Nov 30, 2022).

Describe the bug
In a DataGrid with the options 'AllowColumnPicking' and 'AllowColumnReorder' set to true, it is also possible to group the grid no matter what the value of the option 'AllowGrouping' is.

To Reproduce
Steps to reproduce the behavior:

  1. Create a DataGrid with options 'AllowColumnPicking' and 'AllowColumnReorder' set to true and 'AllowGrouping' left empty or set to false.
  2. In the grid, pick a column (which is possible for reordering) and drop it in the header of the grid, next to the dropdown for the column picking.
  3. The grid now groups the data based on the picked column.

Expected behavior
The grid shouldn't be grouped if the option 'AllowGrouping' is left empty or set to false.

Originally created by @johanpolak on GitHub (Nov 30, 2022). **Describe the bug** In a DataGrid with the options 'AllowColumnPicking' and 'AllowColumnReorder' set to true, it is also possible to group the grid no matter what the value of the option 'AllowGrouping' is. **To Reproduce** Steps to reproduce the behavior: 1. Create a DataGrid with options 'AllowColumnPicking' and 'AllowColumnReorder' set to true and 'AllowGrouping' left empty or set to false. 2. In the grid, pick a column (which is possible for reordering) and drop it in the header of the grid, next to the dropdown for the column picking. 3. The grid now groups the data based on the picked column. **Expected behavior** The grid shouldn't be grouped if the option 'AllowGrouping' is left empty or set to false.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#654