I'm using a GridControl with some assigned Data Editors (like PopupColorEditSettings, CheckEdit,..)
How can I update my DataSource at once, after I make some changes inside a DataEditor.
Currently I have to click outside the current Data Editor. After this, the new content is moved to the DataSource.
But what I want to have is, that the DataSource is updated during I'm inside the DataEditor.
This means, if I click a CheckEdit Box (in a GridControl), I will see the changes immediatly in the DataSource, because I have to reflect the changes somewhere else. And I will not wait until the DataEditor is closed, or the focus is moved to another cell.
To resolve this problem, please handle the CellValueChanging event as shown in the How to post values to a data source immediately after changing a cell value example.
Please try this solution and let us know the results.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.