I was wondering if it is possible to hide or disable the handels that changes the start or end time of the bars in the time line view when the start or end time is outside the visible scale.
//floyd
I was wondering if it is possible to hide or disable the handels that changes the start or end time of the bars in the time line view when the start or end time is outside the visible scale.
//floyd
Hi,
probably the easiest would be to hide drag handles via css. On the client-side you can define a template function for a css class, and set display:none for drag elements
JS:
scheduler.templates.event_class = function(start, end, event){
if(some condition){
return 'no_resize_left';//hide left handle
}
if(some condition){
return 'no_resize_right';//hide right handle
}
return "";
};
CSS:/*left handle*/
.no_resize_left .dhx_event_resize_start{
display:none;
}
/*right handle*/
.no_resize_right .dhx_event_resize_end{
display:none;
}
.docs.dhtmlx.com/scheduler/api__s … plate.html