Switching event calendar(javascript) from 'Resources' and 'Days'/'Week' not updating the headers
Asked by RajeshB 11 years ago.
I'm evaluating the Daypilot Pro Javascript for my project.
I have a button to switch between the Days/Week and resources-view.
When i try to switch from 'Resources' view to 'Days/Week' view the Resource name headers are not replaced by dates.
To achieve the above, do i need to write the script to prepare the columns and assign it to dpc.columns?
I'm using the Daypilot Event Calendar Pro javascript(version - 1418).
Answer posted by Dan Letecky [DayPilot] 11 years ago.
It's now fixed in the latest build (7.9.1428).
Just note that .init() is called automatically from the jQuery plugin. The second call to .init() is ignored. This means the following part of code has no effect:
These properties will be applied during the next .update() call (it this example, it's when you click the Switch button).
You should move these settings to the jQuery plugin options parameter or replace .init() with .update().
Comment posted by RajeshB 11 years ago.
Thanks for your quick reply.
When i'm downloading the 'Daypilot Pro Javascript' from http://javascript.daypilot.org/try/, i get the 1418. I believe the 1429 version is not yet released. How/When can i download 1429 version of Daypiolt Pro javascript?
Comment posted by Dan Letecky [DayPilot] 11 years ago.