We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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