I am using
gantt.getTaskBy and in the docs it is saying that we can either use a function or a property name and value. That’s what I tried to do in the example below.
I am trying to get the tasks that have a taskType equal to 0. When I am using the function it is working while with the property name and value it isn’t. What am I doing wrong ?