DHTMLXScheduler - Get position of click

I’m making a totally custom detailview and would like to position the div where the user clicked to add item .

Is there a property or function to retrieve this?

You can wrap native onclick handler and fetch all necessary data from it

var old = scheduler._click.dhx_cal_data;
scheduler._click.dhx_cal_data = function(e){
var ev = e||event; //native event object

var x = ev.pageX||ev.clientX;
var y = ev.pageY||ev.clientY;

…any custom logic here…

//call original handler

Also onClick, onDblClick, onEventCreated events provide native html event object as second parameter, so you can use it to get info about position of related click .