onColumnSortChanging property
Signature for a callback that is called when sorting is about to occur.
This callback is triggered before the sort operation is performed on the SfDataGrid.
If the callback returns true
, the SfDataGrid will proceed with
sorting. Returning false
will cancel the sort operation.
Implementation
final DataGridColumnSortChangingCallback? onColumnSortChanging;