Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1020
Cell Activation not working
posted

Hi Friends,

I tried to set the Cells["abc"].Activation = Activation.AllowEdit
but 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. 

Parents
  • 469350
    Suggested Answer
    Offline posted

    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.

Reply Children
No Data