Hello,
I have a GridView which is readonly and a GridViewCheckBoxColumn which is not readonly and the checkbox can be ticked and unticked. However when I tick and untick and update the bound property, the value gets persisted to the data store which I imagine is default behaviour if the cell value (i.e. true or false for a checkbox) is valid. This is no good in my scenario. I need to be able to edit this checkbox and update the bound property but NOT persist to the data store; I will do this later in the code myself. How is this achievable please?
I used the MainGrid_CellValidating event and set IsValid to false but this shows up the red border around the cell which I do not need.
Please help.
Thanks,
Alex
I have a GridView which is readonly and a GridViewCheckBoxColumn which is not readonly and the checkbox can be ticked and unticked. However when I tick and untick and update the bound property, the value gets persisted to the data store which I imagine is default behaviour if the cell value (i.e. true or false for a checkbox) is valid. This is no good in my scenario. I need to be able to edit this checkbox and update the bound property but NOT persist to the data store; I will do this later in the code myself. How is this achievable please?
I used the MainGrid_CellValidating event and set IsValid to false but this shows up the red border around the cell which I do not need.
Please help.
Thanks,
Alex