Hello,
I’m using dhtmlxScheduler in Unit View and I would like to intercept double click over column header.
Thank you,
Michele
Hello,
I’m using dhtmlxScheduler in Unit View and I would like to intercept double click over column header.
Thank you,
Michele
Hi,
To catch click on the header in unit view, please use this code:
var headerEl = document.querySelector(".dhx_cal_header");
headerEl.onclick = function(){
var mode = scheduler.getState().mode;
if(mode == "unit")
dhtmlx.message('header');
};
Also you can use scheduler.getActionData to get date/section from mouse event.
Demo
Great!