i want to display the day tab by default in the scheduler . the week shuold be displayed only if a condition is satisfied .how can it be done?
You can just remove week tab from html layout, if you need not it.
As for default mode, it is defined by first parameter of scheduler.init
scheduler.init("some", new Date(), "day");