Hi;
I have a grid with unbound checkboxes and with some text fields. I need to handle cellValueChanged event in server side. For now I handle cellSelectionChange event and post checkbox state to my database. If cell not changed but the checkbox checked or unchecked I cannot set value for database eventually. What can I do to handle cell value changes on server side ?
Here is my grid.
Thanks for the information. I had to disable editing core behaviours to use selectionchanged event properly. Hope this thread will be useful for other developers.
Hello Kerem,
I'm glad to hear that you were able to find a solution. As a note, you could also use the WebDataGrid's RowUpdating server event, which will fire whenever a cell has been updated. The event args for this event handler expose a property called UnboundValues which you can use to determine the updated checkbox state for the row.
I've solved the issue by writing this line in CellSelectionChanged event.
e.CurrentSelectedCells.RemoveAt(0);
I'll do it by CellSelectionChanged event but I need to reset change state. (by providing grid to forget which cell selected) how can I do it ?