Hi, How would I access the current taskstore for the gantt being currently viewed in Angular?
ideally I would like to add something to it but can't seem to find the object when calling from Angular. Ideally I would like to do something like this:
taskStore.add({ pk : 10, name : 'foo' })
task = taskStore.getById(10);
task.id // 10
i've imported gantt from bryntum lib:
import {
Gantt,
TaskStore,
Scheduler,
CrudManager,
ProjectModel,
Store,
} from "@bryntum/gantt/gantt.lite.umd.js";
public gantt: Gantt;
and have Gantt tied to a variable which is being #gantt on the bryntum component.
But where would I be able to access taskStore? thx