I have a DataView that we display in a dataGrid. When I click in the top columns of the grid I get to sort the data in the rows underneath. This is a very nice feature that I sometimes utilise.
However I have an occasion when I want to prevent the user from Sort'ing in the grid.
I've tried to set the 'AllowSorting' to false but this still allows me to sort the data in the grid.
Can anyone enlighten me as to how I might prevent the sorting in the dataGrid of the DataView ?
Any help would be appreciated.
Thanks in advance.
Steve
However I have an occasion when I want to prevent the user from Sort'ing in the grid.
I've tried to set the 'AllowSorting' to false but this still allows me to sort the data in the grid.
Can anyone enlighten me as to how I might prevent the sorting in the dataGrid of the DataView ?
Any help would be appreciated.
Thanks in advance.
Steve