You can clear the grouping when long pressing on a caption row by clearing the SfDataGrid.GroupColumnDescriptions in the GridLongPressed event.
Refer the below code example in which the SfDataGrid is grouped by a column and the GridLongPressed event is hooked.
The below code illustrates clearing the grouping in SfDataGrid when long pressing on a caption row.
Note: If the data source implements ICollectionChanged interface, then SfDataGrid will automatically refresh the view when an item is removed.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.