Dhtmlxscheduler printing event properties

Does anyone know if there is an easy way to show event details (i.e. start_date, end_date, event title, etc.) simply in a div or input field when the event is clicked on in the calendar.  I’ve reviewed the api, but I am having trouble making heads or tails with it.  Any help is appreciated.


You can use code similar to the next

var ev = scheduler.getEvent(id);

some_element1.value = ev.start_date;
some_element2.value = ev.end_date;
some_element3.value = ev.text;
// any other property of event, can be fetched in the same way.

return true;