As the above picture showing,
How can I make the first row not selected by default?
Please give me some advise.
Thanks,
Johnny
Hello John,
One event that you could handle is the Shown event of the Form and set there the ActiveRow of the UltraGrid to Null like:
ultraGrid1.ActiveRow =
In your case you are not having Selected Rows but Active. If you would like to disallow the active and seleted appearance at all for your UltraGrid you could do something like the following in the InitializeLayout event of the UltraGrid like:
Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { e.Layout.Override.ActiveAppearancesEnabled = Infragistics.Win.DefaultableBoolean.False; e.Layout.Override.SelectedAppearancesEnabled = Infragistics.Win.DefaultableBoolean.False; }
If you have any other questions please feel free to ask.
Thanks for your quick response. It works for me.