Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1890
Commit Modified Records
posted

I have a scenerio where when the user edits a record, the small icon of ‘modified record’ appears in the Record Selector area. After I save the changes (or even if I cancel the changes) and update the data source connected to the grid, that icon never goes away. Moreover, if the changes are successfully saved, the record remains highlighted, even though the active record has changed. After editing a few records, the grid looks like the picture attached. How do I fix it? I tried calling ExecuteCommand(DataPresenterCommands.CommitChangesToAllRecords) but that didn't work for me unless I was using it incorrectly.