I'm using an UltraWebGrid, and in addition to several data columns I want to allow users to sort by, I have four other columns which contain controls or status images that I do not want to allow the user to sort by. Is there a way to enable/disable sorting on a per-column basis with the ultrawebgrid?
For the columns that you don't want the users to be able to sort, set that column's Header.ClickAction property to "Select", and for the remaining columns, set the same property to either "SortSingle" or "SortMulti". All of these values are part of the Infragistics.WebUI.UltraWebGrid.HeaderClickAction enumeration.
If you disallow column selection, then the user clicking the column headers of a column whose header's ClickAction is set to "Select" will essentially do nothing.