Property edit

Hello,

How use event “onCheck” or “onLiveEdit” in property ?? I can’t start this event.

I need save data when data was changed in the editor.

https://snippet.webix.com/dt24qdve

Thanks

Hey @nkm,

How use event “onCheck” or “onLiveEdit” in property ?? I can’t start this event.

Judging from the provided snippet, the onCheck event does get triggered upon checking/unchecking the checkbox control. Is there any issue with this particular event that I’m not seeing?

What concerns the onLiveEdit event, it doesn’t actually get triggered at any point during or after the editing process. Please use the onAfterEditStop event instead to know when the editing is finished and the data can be saved: https://snippet.webix.com/4gsuaanr (please note that in the case of the select editor the event will only get triggered after the editor in question loses focus).

hey @Dzmitry

ok, I see how onCheck works

but onAfterEditStop start when focus is out of. I need event whitch work in real time change

In that case it seems that you need to specify the liveEditor: true flag for the appropriate editor in order for the onLiveEdit event to get triggered (as can be seen from the “Details” section): https://snippet.webix.com/v7sc6l8e.

works, thank you for your help :smiley: