Datagrid Columns

hi. when you click on the column headers of the datagrid, it automatically sorts the table by the column you clicked. how do i lock the column headers so the users cannot click on the column headers. i tried: datagrid.allowsorting = false but nothing happens.

1 Reply

CB Clay Burch Syncfusion Team August 26, 2002 07:08 AM UTC

Do you have a DataGridTableStyle added to your DataGrid? If so, try setting the DataGridTableStyle.AllowSorting property to false.

Loader.
Up arrow icon