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
1886
Undo/Redo within XamDatagrid and Editors.
posted

What is needed to support undo/redo in the XamComboEditor (outside of a Xamdatagrid) and XamTextEditor and XamComboEditor (Inside of a XamDatagrid).

to best illustrate the issue I am encountering, please refer your 9.2 xamFeatureBrowser Samples.

Situation #1:  run the XamDatagrid -> Layout and Behavior ->  Add record sample.  Edit the title field.  press ctrl+Z and ctrl+Y.  you see that undo redo works.  select a different column, then return to the same field that was edited before and ctrl-Z and ctrl+Y - notice that no undo functionality occurs now.

Situation #2: run the XamDatagrid -> Control Composition -> XamComboEditor in Datarecord Cells sample.  change the value within the Priority Column.  Press Ctrl+Z ctrl+Y.  notice no undo redo functionality exists.   if you have a XamComboEditor that has AllowEdit = true. and you do the above action (Select a new value from the dropdown)  undo redo works.  but if the control looses focus - then focus returns - there is no undo redo functionality.

To make matters worse - if you have a plain text field in the datagrid.  undo / redo functinality doesnt work once the cells focus is lost.

The end result is a very unplesent and unpredictable end user experience when they are trying to perform undo/redo operations.  Anysuggestions on how this can easily be corrected?

Thanks

 

Parents Reply Children
No Data