Get level in tree within Gantt

Our state of the art Gantt chart
Post Reply
User avatar
Nualis
Posts: 25
Joined: Wed Sep 11, 2019 11:33 am

Get level in tree within Gantt

Post by Nualis » Wed Sep 18, 2019 4:34 pm

Hi,

Is it possible to check in a custom column within the Gantt control at which level the current item is? For instance the root node is level 0, first childnode is level 1 and its child is level 2. Or do we need to develop this ourself?

Based on the level we want to show a different value in the rendere method.

User avatar
saki
Core Developer
Core Developer
Posts: 158
Joined: Thu Mar 30, 2017 9:32 am

Re: Get level in tree within Gantt

Post by saki » Wed Sep 18, 2019 4:47 pm

childLevel is probably that what you need.

Post Reply