Hi,
I would like disable sorting on a specific columns ( i hv grid level settings as sortMulti) and fire some other methods based on columns header selection/Mouse over .?
Thanks,
Valliappan
To disable the sorting, you can set the SortIndicator on the column to Disabled.
To determine if the mouse is over a column header, you will need to use the UIElements.
private void ultraGrid1_MouseDown(object sender, MouseEventArgs e) { UltraGrid grid = (UltraGrid)sender; UIElement element = grid.DisplayLayout.UIElement.LastElementEntered; Infragistics.Win.UltraWinGrid.ColumnHeader columnHeader = element.GetContext(typeof(Infragistics.Win.UltraWinGrid.ColumnHeader)) as Infragistics.Win.UltraWinGrid.ColumnHeader; if (columnHeader != null) Debug.WriteLine(columnHeader.Column.Key); }