I have a taskstore thats used to load data into my gantt chart.
Like
const taskStore = new TaskStore({
data : [
{
"id" : 1000,
"name" : "Cool project",
"percentDone" : 50,
"startDate" : "2019-01-02",
"expanded" : true,
"children" : [
{
"id" : 1,
"name" : "A leaf node",
"startDate" : "2019-01-02",
"percentDone" : 50,
"duration" : 10,
}
]
}
]
});
How can i autoload and sync when a new task is created using lazy loading?
sync data when a new task is created and autoload