Hi
I'm trying to update the scheduleHeaderSettings in index.js by calling:
$(`#HistogramChart`).ejGantt("instance").setModel({ "scheduleHeaderSettings": {
scheduleHeaderType: ej.Gantt.ScheduleHeaderType.Day,
dayHeaderFormat: "dd MMM yyyy",
}})
We get the following error in our web console:
Uncaught TypeError: n._calculateLeft is not a function
at Object._updateGanttRecords (ej.web.all.min.js:10)
at Object.updateScheduleDates (ej.web.all.min.js:10)
at Object._changeChartSchedule (ej.web.all.min.js:10)
at Object._setModel (ej.web.all.min.js:10)
at Object.setModel (ej.web.all.min.js:10)
This is working without issue with both our project and resource views, but not with the histogram view.
I've attached the razor page used to set up the histogram view.
I've also tried to update the histogram razor page to start the view in scheduleHeaderType.Day instead of week, but this causes the web page to freeze
Attachment:
_HistogramChart_e6aae5f2.zip