Three-level of grouping

Hello Team,

I want to create three-level of grouping in gantt chart.
Can you provide three-level of grouping examples and snippet of code.

Thanks

Hi @rajendra1!

You can create as many levels as you like, in our multilevel sample we have the following structure, where there are only 2 levels:
` gantt.groupBy ({ relation_property: "priority", groups: [ {key: 0, label: "High"}, {key: 4, label: "Normal"}, {key: 5, label: "Low"}, // multi level groups {key: 1, label: "Give High Attention", "priority": 0}, {key: 2, label: "Resolve Immediately", "priority": 0}, {key: 3, label: "Keep For Next Release", "priority": 5} ], group_id: "key", group_text: "label" }); `
Please check this article:
https://docs.dhtmlx.com/gantt/desktop__grouping.html#groupingtasks

Please check this snippet with 3-level grouping:
https://snippet.dhtmlx.com/4dbc1930d