Switching timescale mode dinamically

Hi,

in the toolbar of my gantt control I have two buttons to switch between Day and Hour timescales with the next settings:

this.scheduleHeaderSettingsDay = {
scheduleHeaderType: ej.Gantt.ScheduleHeaderType.Day,
dayHeaderFormat: "MMM dd, yyyy",
hourHeaderFormat: "HH"
}
this.scheduleHeaderSettingsHour = {
scheduleHeaderType: ej.Gantt.ScheduleHeaderType.Hour,
hourHeaderFormat: "MMM dd HH:mm, yyyy",
minuteHeaderFormat: "mm"
}

to switch between them I do this:

$("#wmy_gantt").ejGantt({ scheduleHeaderSettings: this.scheduleHeaderSettingsDay });

or

$("#my_gantt").ejGantt({ scheduleHeaderSettings: this.scheduleHeaderSettingsHour });

It changes well except that the hourHeaderFormat remains the same. Any idea why?

Thanks








9 Replies

PE Punniyamoorthi Elangovan Syncfusion Team June 12, 2018 01:09 PM UTC

Hi Oscar, 
Thank you for contacting Syncfusion support 
We have analyzed your reported issue and code snippet. We were able to reproduce this issue for hour header format not refreshing while changing the timescale mode dynamically. We have also logged an issue report “Hour header format not resetting on changing the timescale”. The fix for the issue will be available in our upcoming 2018 Volume 2 Service pack 1 release, which is expected to be roll out in the end of July 2018.  
Please let us know if you require further assistance on this. 
Regards, 
Punniyamoorthi 
 



OB oscar bartolome June 12, 2018 01:51 PM UTC

Ok, thanks. I'll wait for it. 
Please let me know when it's out


PE Punniyamoorthi Elangovan Syncfusion Team June 13, 2018 12:38 PM UTC

Hi Oscar, 
Thank you for your update 
We will let you know once our Volume 2 Service pack 1 is rolled out 
Regards, 
Punniyamoorthi 



OB oscar bartolome August 27, 2018 10:16 AM UTC

Hi,

how is the Volume 2 Service pack development going? Is expected to be rolled out soon?

Thanks


JR John Rajaram Syncfusion Team August 28, 2018 10:17 AM UTC

Hi Oscar, 
We are sorry for not informing you about the Volume 2 SP 1 release, which has been rolled out in the end of July 2018. 
Please find our Essential Studio Volume 2 SP1 2018 (v16.2.0.46) and is available for download under the following link. 
We have fixed the reported issue and included the issue fix in to the Volume 2 SP1 release. We have also prepared the sample for your reference please find the sample link below 
Also we would like to inform you that, our Volume 2 SP 2 release will be rolled out at the end of August 2018. We will let you know once it is rolled out. 
Please let us know if you require further assistance on this. 
Regards, 
John R 



OB oscar bartolome August 29, 2018 09:26 AM UTC

Ok, I'm going to download it now.


Thanks


JR John Rajaram Syncfusion Team August 29, 2018 09:32 AM UTC

Hi Oscar, 
Thank you for the update. 
Also we are glad to announce that our Essential Studio 2018 Volume 2 Release SP2 is rolled out and is available for download under the following link. 
So we request you to upgrade to the latest version. Please get in touch with us if you would require any further assistance. 
Regards, 
John R 



AP Alberto Palma August 29, 2018 12:00 PM UTC

Hi,

I've installed version v16.2.0.50 and now this works fine!

Thank you very much!


JR John Rajaram Syncfusion Team August 30, 2018 06:59 AM UTC

Hi Alberto, 
Thank you for the update. Please let us know if you need further assistance on this. 
Regards, 
John R 


Loader.
Up arrow icon