Using single calendar with the other


i want to use 3 dhtmlx Calendar Objects in relation each other.

First calendar shows previous month, Second calendar shows current month and Third calendar shows next month.

so, when i change to month value in current calendar, the other’s month values will change automaticallly.

How can i do that?


Calendar object has “onChangeMonth” event, so you can attach custom code to such event of all calendar objects , and when any of them trigger event - change the months for two other objects.