We are having problems with the DataGrid component. We use our own DataSource, which is a list of objects and we manage CRUD operations ourselves.
We have a ContextMenu in the DataGrid which allows a delete operation. On ContextMenuItemClicked, we remove the item from the DataSource, but the DataGrid is not updated.
Calling SfGrid.Refresh() or StateHasChanged() doesn't seem to do anything.
How can we have the DataGrid automatically refresh when the DataSource is modified?
You can find a sample project attached. Just try right clicking a row on the grid and select delete, the Grid is not updated.
Attachment:
GridRefresh_f885ae62.zip