Our state of the art Gantt chart


Post by vivianus »

I need to replace different column items according to the scene. How do I replace them?

It's useless to assign values directly:

this.gantt.columns = [{
...
}]


Post by mats »

It's useless to assign values directly:

What do you mean by this?

Replacing columns works well, try this here: https://bryntum.com/examples/gantt/advanced/

gantt.columns = [{ field : 'startDate', text : 'foo' }]

(A name column is always added unless you add one)


Post by vivianus »

version:2.1.0
But when I use the

 gantt.columns = [{...}]

to set up the column, the Gantt chart on the right is blank.


Post by mats »

Try upgrading to 4.1.0 and issue is fixed


Post by vivianus »

Is there a temporary solution for version 2.1.0? which is not convenient to upgrade at present.


Post by alex.l »

Hi vivianus,

Unfortunately, we cannot provide a workaround for this problem, the only solution we could suggest you: please upgrade your app. It will help to avoid some bugs that are fixed in latest versions.

All the best,
Alex

All the best,
Alex


Post Reply