Need to make Ajax call when drilling into event to get details for event from my server

I feed the webix scheduler from an array.
The details are only 50 character snippets.
I need a hook when a user drills into an event to call a web service via ajax to get the full details.

How do I do this?

Thanks

Can somebody answer this please?

You can set onViewShow event for “event” view:

$$("scheduler").$$("event").attachEvent("onViewShow",function(){
    /*your code*/	 			
});

To update an item with new details you can apply the following:

var id = $$("scheduler").getCursor();
$$("scheduler").updateItem(id, {details: "New Details"} );