Hi,
I need to set the headerclickaction to select for all the columns of the grid, except for the first column, which I want to sort it when I click its header...
Is it posible to customize it for each column?
Hi Julio,
I don't think there is a HeaderClickAction property on the column.
So maybe what you can do is set the HeaderClickAction to Sort on the whole band, then in the BeforeSortChange event, trap to see which column is being sorted. If it's the first column, you do nothing. If it's any other column, you set e.Cancel to true and select the column by adding it to the grid.Selected.Columns collection.
This is the exact same workaround I've just done too as I couldn't find a HeaderClickAction on the column. It works fine, but it seems strange that this doesn't exist - most of the properties that are overrideable at band level can normally be set on the individual rows, columns or cells.