I don't need to do anything when a header is clicked. I don't want to select, nor sort the data.
However I don't see such a choice in the HeaderClickAction list. What to do?
Hello serhiol,
One way to do this would be leaving the default sort behavior and set the following property on the desired column in the IntializeLayout event of the UltraGrid:
e.Layout.Bands[0].Columns[0].SortIndicator = SortIndicator.Disabled;
So clicking the column header won't do anything now.
Please let me know if this is what you are looking for.
OK.... Any way to do it for the entire grid?
thank you, this goes better for me ! )
There is another option that will cover the whole UltraGrid. In the InitalizeLayout event you could set the following:
e.Layout.Override.HeaderClickAction = HeaderClickAction.Select;
e.Layout.Override.SelectTypeCol = SelectType.None;
Please let me know if you have any other questions with this matter.