Our state of the art Gantt chart
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 = [{
...
}]
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)
version:2.1.0
But when I use the
to set up the column, the Gantt chart on the right is blank.
Try upgrading to 4.1.0 and issue is fixed
Is there a temporary solution for version 2.1.0? which is not convenient to upgrade at present.
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