About Group by resource view, by priority in Gantt Chart


i am getting an error when i have used gantt.groupBy({ });

and the error is:
dhtmlx_gantt_codebase_dhtmlxgantt__WEBPACK_IMPORTED_MODULE_5__.gantt.groupBy is not a function

If anyone please help me why i am getting an error in my react application

Thanks and Regards,


Hello Pradeep,
Did you enable the grouping extension with the plugins method?

Here is a React demo where it works:

If that doesn’t help you, please send me a ready demo that I can run so that I can see what might be wrong.