Simply use sortableColumns="false" property of the datagrid.
Shardul Singh Bartwal
That will turn off the sorting however it does not remove sorting. Also, if you want to be able to allow sorting again and set that property to true the datagrid will default to its last state. So if a column was sorted it will be sorted again without user interaction.
Hello Silent Ryan,
This will clear the sort:
ListCollectionView(dataGrid.dataProvider).sort = null;
Message was edited by: PhilipKeiter
Thanks. That worked for me.