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
925
XamlSpreadSheet EditModeExiting event not fired when using DockManager
posted

Hi,

We have encountered an issue with Spreadsheet control in our application, where the Edit Mode is not exited automatically if the user clicks  button outside of the DockManager which contains this Spreadsheet control in different area. As the result, the edited value in the cell is not committed/updated and the view model persists incorrect state of the workbook. We have not found another way to get an uncommitted edit value from the Spreadsheet cell.

If the button outside of DockManager is clicked, there is no EditModeExiting event fired, and there is no opportunity to get a value from edit mode. If the button is located inside of the DockManager together with Spreadsheet control, it works fine. In our case we need to make it work for button outside of the DockManager. Clicking on this button should commit save the edited value to workbook. How to make it work this button?

I have attached a sample code which reproduces the described behavior. SpreadsheetEditMode.zip

Steps to reproduce:

  1. Click any cell in the Spreadsheet
  2. Enter any text in the cell
  3. Without exiting the edit mode click on the button "Read value from edit mode (Does not work)"
Parents Reply Children
No Data