G
Guest
I have a DataGrid on my Form, and I wish to disable any cell editing.
For example; when the user clicks on a cell, the cell become editable by
changing its color to gray and context menu is shown on muse right mouse
click.
I do not want the enable this cell context menu (I have my own context menu)
and I do not want the cell to change it's color. I want that on any click -
the entire row will be selected.
There are some other cases where the cell become editable, and I want to
prevent them all.
I did not find any event that I can hook to for that.
Can any guru in here tell how to prevent any kind of cell editing in the
DataGrid?
For example; when the user clicks on a cell, the cell become editable by
changing its color to gray and context menu is shown on muse right mouse
click.
I do not want the enable this cell context menu (I have my own context menu)
and I do not want the cell to change it's color. I want that on any click -
the entire row will be selected.
There are some other cases where the cell become editable, and I want to
prevent them all.
I did not find any event that I can hook to for that.
Can any guru in here tell how to prevent any kind of cell editing in the
DataGrid?