Can i get current view selected (day, week or month) ?
And can i have addTabXXXClickHandler? (ex. addTabDayClickHandler)
sorry for my bad english.
thank.
navin
we haven’t documented this functionality yet, but there are the following methods for determining which view is selected:
dayViewSelected(), weekViewSelected, and monthViewSelected().
Also currently undoc’d is the calendar.mainView, which is the autoChild (search ‘autoChild’ in docs) tabset in question. You could check myCalendar.mainView.getSelectedTab() for the selected tab (besides the methods listed above), and set mainViewProperties: { tabSelected : function …} to handle tab clicking.
Note these APIs would need to be called via JSNI for now.