Expanding event

Hi Everyone,

Is there a way to expand event when it is selected in order to display more details and then collapse when it is deselected?

Regards,

Specifically, I plan using Timeline & Units views (docs.dhtmlx.com/scheduler/sample … units.html)

Also, I don’t want to use tooltip and just to expand event.

Hi,
there is no ready method to expand event, but you can specify an html and css templates for the selected event. When user clicks on event it will be redrawed and templates will be applied. E.g.

[code]scheduler.templates.event_text = function(start, end, event){
if(scheduler.getState().select_id == event.id){
return “

”;

}
return event.text;
}[/code]

docs.dhtmlx.com/scheduler/api__s … plate.html
docs.dhtmlx.com/scheduler/api__s … plate.html
docs.dhtmlx.com/scheduler/api__s … state.html
docs.dhtmlx.com/scheduler/api__s … plate.html