Is there a way to prevent editing of all rows in a specific band of an UltraGrid?
I know I can set each column's CellActivation property.
Ideally, I would prefer to display an UltraTree instead of a sub-Band. Short of that, the rows in the targeted sub-band are for informational purposes.
You don't need to set a property on every row. You could set it at the band level:
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { UltraGridLayout layout = e.Layout; UltraGridBand band = layout.Bands[0]; band.Override.AllowUpdate = DefaultableBoolean.False; }
Hello ,
UltraGridRow object has a property Activation that determines how an object will behave when it is activated. More information about this property you could find on the following link:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.2/CLR4.0/html/Infragistics4.Win.UltraWinGrid.v12.2~Infragistics.Win.UltraWinGrid.UltraGridRow~Activation.html
Please let me know if you have any further questions.