I am investigating the gantt control as a potential reporting solution. I have created a simple gantt and want to show only milestones. The milestones are displaying but their associated text is not displayed. Is this a limitation of the non-pro version of the component or is my code incorrect?
Gantt Prototype html, body { height: 100%; padding: 0px; margin: 0px; overflow: hidden; } </head gantt.init("gantt_here");
var cols = [{
name: "Program",
label: "Program",
align: "center"
},{
name: "Initiative",
label: "Initiative",
align: "center"
},{
name: "Team",
label: "Team",
align: "center"
}];
gantt.config.columns = cols;
gantt.parse({
data:[
{id: 1, text: 'M1', type:"milestone", start_date: "26-02-2023", Program: "Program A", Initiative: "A -Phase 1", Team: "Bueno", open: true},
{id: 2, text: "M2", type:"milestone", start_date: "30-03-2023", open: true, parent: 1}
],
links: [
{id: 1, source: 1, target: 2, type: "1"} ]
});
</script>