I have a grid with a checkbox column. If a user marks the checkbox and then clicks on the "Save" button, I'm pulling the value of the checkbox, but it returns FALSE. It seems like the row is not being committed even when I have left the grid. What is trick for this?
2 Answers, 1 is accepted
Dess | Tech Support Engineer, Principal
answered on 08 Jun 2017, 12:34 PM
Thank you for writing.
The GridViewCheckBoxColumn.EditMode property controls when the value of the editor will be submitted to the cell. By default, the current behavior is kept (OnValidate) and the value will be submitted only when the current cell changes or the grid looses focus. The new value (OnValueChange) will submit the value immediately after the editor value changes. Set the EditMode property to OnValueChange and the new values will be committed immediately.
I hope this information helps. Should you have further questions I would be glad to help.