endLightbox(mode, custom_form)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxscheduler.js

Method will hide custom form, remove modal cover, and exec after-saving operations if necessary. Can be used as part of custom lightbox form.

  • result of edit operation, false - cancel, true - data need to be saved
  • html container of the form, optional
     scheduler.endLightbox(false);
     //or
     scheduler.endLightbox(true, document.getElementById("my_form"));