allowSorting property
Decides whether user can sort the column simply by tapping the column header.
Defaults to true.
This is applicable only if the SfDataGrid.allowSorting is set as true.
See also:
SfDataGrid.allowSorting– which allows users to sort the columns inSfDataGrid.DataGridSource.sortedColumns- which is the collection ofSortColumnDetailsobjects to sort the columns inSfDataGrid.DataGridSource.sort- call this method when you are adding theSortColumnDetailsprogrammatically toDataGridSource.sortedColumns.
Implementation
final bool allowSorting;