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
975
Disabled Sorting in Grid
posted

Hi,

Is anybody know How to disabled sorting in Ultra Grid? 

Parents
No Data
Reply
  • 927
    Verified Answer
    posted

    Try setting the header's click action to any value that's not a sort, like this:

    ultraGrid1.DisplayLayout.Override.HeaderClickAction = HeaderClickAction.Select;

    If you don't want the column to be selected when a user clicks a column header, then also use this:

    ultraGrid1.DisplayLayout.Override.SelectTypeCol = SelectType.None;

Children