can you elaborate on what the call is supposed to look like? because when i create my gantt like this:
const dp = new DayPilot.Gantt("dp", {
cellWidthSpec: "Fixed",
cellWidth: 40,
timeHeaders: [{ "groupBy": "Month" }, { "groupBy": "Day", "format": "d" }],
scale: "Day",
taskHeight: 25,
rowHeaderHideIconEnabled: true,
rowMoveHandling: "Disabled",
taskMoveHandling: "Disabled",
linkCreateHandling: "Disabled",
rowCreateHandling: "Disabled",
heightSpec: "Max",
taskGroupMode: "Manual",
startDate: DayPilot.Date.today(),
days: 30,
height: window.innerHeight - 260,
});
And call the function you specified like this:
console.log(dp.tasks.find('Obj-AVC-010'))
I get null even though the id i entered does exist in the tasks list and is even a parent element