I don't actually know if I have some mistake in design time setting the activation property of a column set to CellActivation = ActivateOnly
In my code, i did some validation of a cell and add this line of code
this.ugGrid.ActiveRow.Cells["Price"].Activation = Activation.AllowEdit;
but unfortunately, it doesn't work. It does not allow me to edit the column cell area.
but if i use this code, it works fine. It makes the column disabled.
this.ugGrid.ActiveRow.Cells["Price"].Activation = Activation.Disabled;
Have i missed something?
Thanks for your opinion and ideas.
Hi,
If you are sure you are not setting CellActivation or Activation on some other object, then my guess is that the Price field in your data source is Read-Only.
You might also want to check the AllowUpdate property on the Override.
Or check out this KB article: HOWTO:How can I make a grid or a column, row, or cell in the UltraWinGrid disabled or read-only?
It might give you some other ideas about ways that the column might be disabled.