Hello every one,
Thankx in advance
So i was trying to use localstorage cache to store the projetc data so next load pulls data from localstorage so tried to use
gantt.project.inlineData
to get all teh data but i noticed it does not have calendrsData so i tried to do
gantt.project.calendarManagerStore.getInlineData()
and encountred error :
Uncaught TypeError: Cannot read properties of undefined (reading 'visited')
at Base.processConfigValue (gantt.module.js?468079:10:42090)
at e.getCurrentConfig (gantt.module.js?468079:10:343072)
at gantt.module.js?468079:10:481757
at Array.forEach (<anonymous>)
at CalendarManagerStore2.getInlineData (gantt.module.js?468079:10:481711)
at <anonymous>:1:43
even when i try
window.gantt.project.calendarManagerStore.getInlineData()
on
https://bryntum.com/products/gantt/examples/advanced/
i get same error , so i was wondering am i using right function
window.gantt.project.calendarManagerStore.getInlineData()
to get calendars data or not and if yes why i am seeing this error and why gantt.project.inlineData does not includes calendarsData? or is there anh diffrent way to get all the data which can be saved in localstorage and later can bring back exact gantt instance back from that cached data