Disabling controls

hi,
I have added some custom controls in scheduler like combobox,i want in day,month,year view,these controls should be enable ,but in agenda view these controls should be disable.May you give me solution of it.

Regards-
surya kant dwivedi

Hello,

Check out getState to get scheduler’s current state.
If you are using version prior to 2.3 then you can use

scheduler._mode

which returns string with the current mode (week, month and so on).

Best regards,
Ilya