I'd like to set only checkbox column allowupdate, but another column does not allow update.
Is it possible with UltraGrid?
Hello,
I typically do this by first setting the grid to allow update:ultraGrid1.DisplayLayout.Override.AllowUpdate = DefaultableBoolean.True
And then controlling the allow update on each column, you would do this in the InitializeLayout event.
foreach (var column in initializeLayoutEventArgs.Layout.Bands[0].Columns) { if (column.Key == "CheckBoxColumn") { column.CellActivation = Activation.AllowEdit; column.CellClickAction = CellClickAction.EditAndSelectText; } else { column.CellActivation = Activation.NoEdit; column.CellClickAction = CellClickAction.Default; } }
HOWTO:How can I make a grid or a column, row, or cell in the UltraWinGrid disabled or read-only?