Our state of the art Gantt chart


Post by shaveta »

Hi,

I am using "bryntum-gantt-5.0.0-alpha-1" and on save i am saving state

{'rowHeight':45,'readOnly':false,'style':'flex: 1 1 100%; min-height: 10em;','selectedCell':{'id':'_generatedClassDefEx10','columnId':'wbs'},'selectedRecords':['_generatedClassDefEx10'],'columns':[{'id':'wbs','width':70,'hidden':false,'region':'locked','locked':true},{'id':'name','width':250,'hidden':false,'region':'locked','locked':true},{'id':'startdate','width':130,'hidden':false,'region':'locked','locked':true},{'id':'duration','width':100,'hidden':false,'region':'locked','locked':true},{'id':'percentdone','width':70,'hidden':false,'region':'locked','locked':true},{'id':'col2','width':100,'hidden':false,'region':'locked','locked':true},{'id':'col3','width':865,'hidden':false,'region':'normal','locked':false}],'store':{},'scroll':{'scrollTop':0,'scrollLeft':{'locked':0,'normal':0}},'subGrids':{'locked':{'collapsed':false},'normal':{'collapsed':false}},'barMargin':10,'zoomLevel':9,'zoomLevelOptions':{'startDate':'2022-01-08T18:30:00.000Z','endDate':'2022-01-22T18:30:00.000Z','centerDate':'2022-01-15T18:30:00.000Z','width':61.785714285714285}}

on load of gantt if I set state, it is throwing error

err-g.png
err-g.png (36.34 KiB) Viewed 264 times

if i remove below node from state object, it works fine

'selectedCell':{'id':'_generatedClassDefEx10','columnId':'wbs'}

I was not having this issue before version upgrade, any help to fix it is really appreciated!!


Post by alex.l »

Hi shaveta,

Sounds bad, but I cannot reproduce it with our examples in bryntum-gantt-5.0.0-alpha-1 release. Could you try please? If no, we need a test case and clear steps to reproduce this issue.

Thank you!

All the best,
Alex


Post Reply