Check documentation for the latest version of dhtmlxSuite onArrowClick DHTMLX Docs

onArrowClick

fires when the user clicks on an arrow in the calendar's header

void onArrowClick(Date date,Date nextdate){ ... };

Parameters

dateDateinitially selected month
nextdateDatenewly selected month

Example

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

Back to top