Hello,
how can i set the task type to “project” in the xml data source ?
Thanks.
Hello,
how can i set the task type to “project” in the xml data source ?
Thanks.
Hello,
you can add following:<task id=1>
<type>project</type>
I have tried with no success. The task ramain editable with the same color of type ‘task’.
my code inside xml:
project <![CDATA[AP SUPPORT SERVICES -]]Hello,
i’ve tried to add ‘’ to the couple of tasks in a sample data file (gantt/samples/common/data.xml ) and type seemed to be applied. The modified file is attached.
Are you sure you use the latest version of the component? If so, please attach sample of xml data, that i could use to reproduce the problem.
In case there is something wrong with the string values of types (“project”, “milestone”), actual values can be changed in configration:
gantt.config.types.task = '1';
gantt.config.types.project = '2';
gantt.config.types.milestone = '3';
And then load it as
<type>2</type>
data.zip (822 Bytes)