Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
944
Disable column sorting
posted

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? Big Smile

Many thanks
Jason

Parents
  • 510
    Verified Answer
    posted

    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 

Reply Children