File: dhtmlxgantt_smart_rendering.js
Line 16
Error description: “Uncaught TypeError: n.restore is not a function”
I have this settings turned on:
gantt.config.smart_rendering = true; // when this is false everything works fine
gantt.config.static_background = true;
gantt.init(“gantt_container”);
gantt.parse(data); // if I replace parse with load everything works
Data is an JS array with tasks, works ok without smart rendering.
If I switch to gantt.load and load exactly the same data from serverside everything is working, even with smart_rendering turned on.
Hi,
can you send a sample of data that caused the issue?
The parse method by itself should work ok, since it’s working ok in our demos docs.dhtmlx.com/gantt/samples/08 … weaks.html
So probably it’s something related to the data
Some fields are added to addition to default ones.
I executed JSON.stringify({data: arrayList[0]}); on my list with first record only, so that you can see example.