Discuss anything related to web development but no technical support questions


Post by VijaySM »

This is the simple array that I am appending to specific parent
grid.taskStore.getNodeById(node.id).appendChild([ { Name:"Test", Id: "P222" }, { Name:"Tes2t", Id: "P2222" }]);
is there anything wrong? it's still adding nodes as siblings.

and one thing, My Id is in string format like "G1" etc

Post by mats »

Impossible to say without a clear test case. Please try to debug it, it looks correct!

Post by VijaySM »

My web URL is https://project.ssoft.in:8090/ControlUpgraded/#en
try below code in the debugger
var grid = Ext.ComponentQuery.query("#advanced-gantt-1011")[0];
grid.taskStore.getNodeById("G1").appendChild([ { Name:"Test", Id: "P222" }, { Name:"Tes2t", Id: "P2222" }]);
or should I send you zip of my code?

Post by Maxim Gorkovsky »

We will need a test case that we could run locally. E.g. take our basic/advanced example and modify it to reproduce your problem.

Post by VijaySM »

Do I need to change CurdManager loading in Application.js if I follow the given guide https://docs.sencha.com/extjs/6.0.2-clas ... g_children

Post by mats »

Yes, skip the CrudManager and just use the regular "taskStore" config.

Post by VijaySM »

Ok thanks @Mats

Post Reply