Call me stupid but I can't seem to track down the property to disable column sorting. I dont want users to be able to use this feature.
A hint please?
Many thanksJason
When you say the column is marked, are you meaning that the entire column is selected or highlighted or are you meaning that the column header itself is selected? I ask as I have grids where I have both happening.
CheersJason
Hmmm... I tried the above proposal to disable column sorting.
The sorting is indeed disabled, but when clicking a column header, the entire column is marked. I'd like to disable the sorting and avoid marked columns. Is there away to achieve this.
Kind regards, darhlin
Thanks. Worked like a charm.
UltraGrid provide 2 mode when click Header: Sort or Select Column
In order to disable Sor, set property HeaderClickAction = Select.Ex: UltraWinGrid.DisplayLayout.Override.HeaderClickAction = Select
If you dont want to Select column after set HeaderClickAction = Select, set property:
UltraWinGrid.DisplayLayout.Override.SelectTypeCol = None
Goodluck