About Group by resource view, by priority in Gantt Chart

Hi,
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,
Pradeep

Hello Pradeep,
Did you enable the grouping extension with the plugins method?
https://docs.dhtmlx.com/gantt/desktop__extensions_list.html#grouping

Here is a React demo where it works:
https://files.dhtmlx.com/30d/d63dd9311413d9c6ec9eb1581a9c518a/react+marker+grouping+7.0.5_trial.zip

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.