dhtmlxScheduler: double click adding an event

  1. Please tell, how can I disable adding new event on the double click?

    2) Is it possible to hide the buttons “Save” and “Delete” at the bottom of the lightbox?



    Thank you
  1. Please tell, how can I disable adding new event on the double click?
    scheduler.config.dblclick_create = false;

    >>2) Is it possible to hide the buttons “Save” and “Delete"
    You can use


    .dhx_delete_btn{
    display:none;
    }

I’ve tried hiding the buttons, commenting out lines of code in the dhtmlxscheduler.js file and I still end up with about 1-2px wide blank button where the Save and Delete icons would be (I’m trying to display the lightbox in a read-only mode - no Save, no Delete, and no textarea editing capabilities.  I want to use it to display task details in a kind of reporting fashion and the read-only setting in the scheduler config only serves to disable displaying the lightbox for details which does me no good.

You can just ignore default lightbox, you can attach any custom code for event details showing through

scheduler.showLightbox=function(id){
any custom code here, to show details of event
}