Get the current month in Month View?

Hello,

I love your products!

I am using dhtmlxTree in combination with dhtmlxScheduler to allow our users to drag 'n drop appointments onto the Month view calendar. I would like the user to see, in a sidebar, the total number of hours they have scheduled for each of the events that have been scheduled in the month–like a summary. However, to do this I think I need to be able to get the current month being displayed from dhtmlxScheduler and update the sidebar via Ajax every time the user updates his schedule (or saves his schedule?).

I hope you are able to follow what I mean. I would appreciate any help in pointing me in the right direction. I am able to do the drag 'n drop and successfully save to our database so that is all working fine.

Cheers,

Hello,

You can use getState method.

Kind regards,
Ilya

Thank you! I think that will do the trick!

Cheers!