Thanks for reactivity.
I can explain the general problem.
I have a complex application that use the function (checkIfFormSaved) in all views.
For one view for exemple , when I have a form filled, I tested all interaction (click) in other objects (datatables , buttons , treetables, tabs etc…) and I give the user the possibility to stay in form or to continue.
That’s why when I used a basic ‘confirm’ , that stop the execution and I can intercept the execution with all objects.
But I wan’t to use the webix.confirm , that’s why I need to change the code of my application.
With your solution for a datatable (for example), I have a problem : I lost the event ‘onAfterSelect’. I use ‘onBeforeSelect’ for the test of form and ‘onAfterSelect’, ‘onItemClick’ etc for all interactions (show or hide view …) .
Any Ideas ?
Thanks