Hi,
Using HeaderClickAction as below I could sort any columns in my grid fine, however requirement is to sort only 4 columns out of 10 in grid. How would I accomplish this?e.Layout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti
Thanks!
Hello,
One possible way to disable the sorting of some of your columns is setting the following code in your IntializeLayout event:
void ultraGrid1_InitializeLayout(object sender, InitializeLayoutEventArgs e) {
e.Layout.Bands[Index].Columns[Key].SortIndicator = SortIndicator.Disabled;
}
Please let me know if you have any other questions.
Works thanks!