There is an ultraGrid(named ultraGrid1) and an ultrDropDown(named DDHeadType), the WSHeadTypeNo column's valus is from DDHeadType, now when in the editmode, when I scroll the wheel of the mouse, How to let the data of the WSHeadTypeNo cell in the ultrGrid not to change together? (below a little code to explain the relation and data)
this.DDHeadType.DataSource = datatableDheadtype
this.ultraGrid1.DisplayLayout.Bands[0].Columns["WSHeadTypeNo"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownValidate; this.ultraGrid1.DisplayLayout.Bands[0].Columns["WSHeadTypeNo"].ValueList = this.DDHeadType;
How to realize it? Thanks in advance!
I think you want to handle the MouseWheel event, upcast the MouseEventArgs to HandledMouseEventArgs, and set the Handled property to true. This will prevent the default mouse wheel processing.
thank you for your help!
in which event to encode it?