Our state of the art Gantt chart


Post by johanbrodin »

Hi,

We would like to set the wbs which is doable with below code. However indenting tasks recalculate them so how do we control wbs ourself (for a subset of tasks on the gantt).

  var added: any = this.gantt.taskStore.rootNode.appendChild({
            wbsValue: issue.issue, 
            name: issue.title,
            duration: 1,
            iconCls: "b-fa b-fa-fire"
 });
Attachments
wbs.gif
wbs.gif (6.74 MiB) Viewed 84 times

Post by alex.l »

It is not possible now to fully disable wbsCode calculations and use custom values.
If you need that, why don't you add a new field for TaskModel and use your own values and logic?

All the best,
Alex


Post by johanbrodin »

Adding our own field will also do the trick. We will go that way so please close this ticket.


Post Reply