I would like to run my own event dialog (actually a JSF AJX-dialog) which i open instead of the default dialog:
scheduler.attachEvent(“onBeforeLightbox”, function(event_id){
eventdlg.show(); //javascript accessor for JSF-Primefaces dialog
});
This works fine. But when I now click save, cancel or delete I have no idea which javascript Function i should call so that the scheduler knows about my action.
Can somebody provide me more informations about this?
Alternatively I would have to make a full reload, which is not really nice.
Thanks for your support.
PS: default dialog is for us not a option, because we have to load some stuff with ajax depending on user input in form (e.g. autocomplete from solr, …)
function delete_event() {
var event_id = scheduler.getState().lightbox_id;
scheduler.endLightbox(false, html("my_form"));
scheduler.deleteEvent(event_id);
}
Best regards,
Ilya
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan