search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Scheduler in tab control

Asked by DP
8 years ago.

In my MVC application, I need to add 2 or 3 day pilot schedulers as different tab controller. But only the scheduler in the current tab is loading properly. Rest of all are not loading properly.

How can I Solve this?

mvc
Answer posted by Dan Letecky [DayPilot]
8 years ago.

When you initialize a Scheduler that is in a hidden part of a page (like in case of a hidden tab) it is not possible to initialize the dimensions properly (all dimensions returned by the browser are 0 pixels).

The latest version of DayPilot autodetects when the Scheduler becomes visible and tries to fix the layout.

If it doesn't work you can try calling dp.show() when the tab becomes visible. See also:
http://api.daypilot.org/daypilot-scheduler-show/

This should correct the display.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.