6 Answers, 1 is accepted
Thank you for writing.
You can try the ValueChaged event of RadGridView to achieve this functionality. The event is raised when the value is changed in the active editor of RadGridView, but the change is not yet committed to the row cache or the underline object in bound mode.
I hope this information is helpful. Let me know if you need further assistance.
the Telerik team
Then how do you commit the change to the row cache, as you said? The "CommitEdit" property does not exist in the RadGridView.
The ValueChanged event is nice, but it took a lot of work just to get anything useful out of this event, cause the arguments were the system defaults and provided me with nothing:
This is all the information I need to know exactly how to handle a click, but before, I could force the DataGrid to commit the changes and in turn it would fire the "CellValueChanged" event, which was especially handy since I already had the code in place to handle the change.
This code is nasty, but it behaves similarly to my regular DataGridView method for committing to the grid, and subsequently the database since in my "CellValueChanged" handler I have SQL update statements
checked_a_box->Value = rad_chb->Value;
From the above line only it is firing the "radGridView1_CellValueChanged" event. But again why are you calling the same event.
Please share me some working sample of "radGridView1_CellValueChanged" event, here you have given only "radGridView1_ValueChanged" event.
This code seems to be an old solution. Now you can set the EditMode of the column and the CellValueChanged event will be fired immediately:
I hope this will be useful. Let me know if you have additional questions.