Get level in tree within Gantt

Our state of the art Gantt chart


Post Reply
User avatar
Nualis
Premium Member
Premium Member
Posts: 31
Joined: Wed Sep 11, 2019 11:33 am

Get level in tree within Gantt

Post by Nualis »

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: 594
Joined: Thu Mar 30, 2017 9:32 am

Re: Get level in tree within Gantt

Post by saki »

childLevel is probably that what you need.

Post Reply