I am using the Blazor DataGrid control in a Blazor Server App with a List<ExpandoObject> as my data source. When I enable the column chooser, I encounter an issue where the list of data in the grid will be cleared.
The issue can be reproduced in the attached project. Nuget package version is 19.1.0.59
Steps to reproduce:
- Run the project
- Wait for data to load
- Select the Column Chooser dropdown
- Click The "Select All" checkmark (to unselect all columns)
- Click the Cancel button
- Notice the data disappear from the grid.
This seems to happen only the first time you load the grid/page.
Attachment:
Attachements_a1f61bd3.zip