Check documentation for the latest version of dhtmlxSuite onClick DHTMLX Docs

onClick

fires when the user clicks on a date in one of the calendar instances

void onClick(string side,Date date){ ... };

Parameters

sidestring"left" or "right"
dateDateclicked date

Example

myCalendar.attachEvent("onClick", function(side, date){
    // your code here
});

Back to top