Select Event

Hi, I have another issue now. Once I have loaded my data from other source into mobile scheduler I need to select appropriate combox (or richselect) values depending on loaded data values.

I was thinking setting those values manually after I select an item on my calendar, but any trials of attaching events such as “onAfterSelect”, “onBeforeEditStart”, “onBeforeEditStop” didn’t work.

How can I access my item in a function once I’ve selected it?

For example:
http://webix.com/snippet/67ce648b

Try to use scheduler.attachEvent("onAfterCursorChange", handler)

onAfterSelect and onBeforeSelect event occurs directly on the view where selection occurs, while onAfterCursorChange occurs on the scheduler each time as some event was selected in any view.

If you want to see which events do occur after some action, replace webix.js and scheduler.js with webix_debug.js and scheduler_debug.js. After that run in the console webix.debug = true;
After that, all events will be logged to the console.