Hi,
I defined a GridViewDataColumn with a CellTemplate (with TextBlock) and a CellEditTemplate (with TextBox).
Depending on the data, Edit is allowed or not.
How can I prevent a cell from switching to edit mode, when edit is not allowed?
Setting the TextBox to ReadOnly, does not prevent the switch to edit mode.
Best regards,
I defined a GridViewDataColumn with a CellTemplate (with TextBlock) and a CellEditTemplate (with TextBox).
Depending on the data, Edit is allowed or not.
How can I prevent a cell from switching to edit mode, when edit is not allowed?
Setting the TextBox to ReadOnly, does not prevent the switch to edit mode.
Best regards,