Issue on editable data table when user press ESC.

Hello,

I have a issue when I add a check on inline editable datatable and the user press on ESC key.

Example: the cell is a text that contains a value <= 1.
If the user press 2 he have a message error (see code), but if after he press ESC, the value is revert to previous value in display, but when the user re-edit the cell the displayed value is 2.

http://webix.com/snippet/29112f4f

Regards

Hello,

If I add some parameter in datatable
see: http://webix.com/snippet/e3ea244b
Now if I set 2 in the cell and I press ESC, the value displayed is 2.

Regards

Hello,

In my second version the issue come when I have the parameter:
leftSplit

Regards,

Hi, you have a “liveEdit” true set for all columns. This option enables a mode, when value in datatable is updated after each key pressing, without triggering onBeforeEditStop. As result data is always updated and onBeforeEditStop check doesn’t really changes anything.

Removing liveEdit and changing the onBeforeEditStop a bit resolves the issue.

http://webix.com/snippet/d063be9e

There is still a bug with not reverting value in case of liveEdit and escape key, which will be fixed in the next build.

Thanks for the response.