Hi Friends,
I tried to set the Cells["abc"].Activation = Activation.AllowEditbut the cell is not going in the edit mode.The grid is bound to a list.the list contains properties with Get {} as well as Set{}. I am unable to figure out why the cell doesnt go in the edit mode.
Regards,Sid.
Hi Sid,
AllowEdit on the cell is the default. So you really don't need to set this property unless either the column or the row is disabled.
When it comes to activation, a cell will, by default, use the least accessible settings of the row, column, and cell. So if a column is disabled and the cell's Activation is AllowEdit (the default), then the cell is disabled. It has to be, or else it would not be possible to disable a column without disabling each individual cell.
Anyway, if you want the Activation of the cell to override that of the row and the row, you can set IgnoreRowCellActivation on the cell.
Hi Mike,
Thanks !!!
Danko's answer worked fine for me. I used the :
cell.Activate();uxUltraGridRuleList.PerformAction(Infragistics.Win.UltraWinGrid.UltraGridAction.EnterEditMode);
This worked fine for me.
Regards,
Sid.