Opening differnt custom light boxes based on the row

Hi,

Can any one please help me how to open different custom light boxes based on the row in the scheduler?
how to disable the light box for some cells in the scheduler?
how to open custom page instead of the light box and how to pass parameters for that custom page from the scheduler.

Hello,

Can any one please help me how to open different custom light boxes based on the row in the scheduler?
It’s possible by using scheduler.resetLightbox(). See example:
docs.dhtmlx.com/scheduler/sample … tions.html

how to disable the light box for some cells in the scheduler?
You can disable opening the lightbox with onBeforeLightbox event.

how to open custom page instead of the light box and how to pass parameters for that custom page from the scheduler.
You can make it by using onLightbox event and redirect thrue window.location.

scheduler.attachEvent("onLightbox", function(id){
 var ev = scheduler.getEvent(id);
  var createEvent = !!scheduler.getState().new_event;
  var params = [
    "id="+encodeURIComponent(id), 
    "newEvent="+createEvent, 
    "startDate=" + encodeURIComponent(scheduler.templates.xml_format(ev.start_date))
  ].join("&");
  
  var url = "yourpage.html?" + params;
  
  alert(url);
  window.location = url;
});