Can't using function on dhtmlxgantt_grouping.js

Hello, so i take the guide about task grouping in docs.dhtmlx.com/gantt/samples/0 … uping.html

but i have problem with dhtmlxgantt_grouping.js when i click the function always error like this Uncaught ReferenceError: Gantt is not defined on dhtmlxgantt_grouping.js. And on client side Uncaught TypeError: gantt.groupBy is not a function ?

Thank you

Hi,

Please, attach dhtmlxgantt_grouping.js extension to solve the problem.

this is my dhtmlxgantt_grouping.js
dhtmlxgantt_grouping.rar (3.28 KB)

I mean you need to include this file on the page.
image.prntscr.com/image/1ef62e73 … 5c62c1.png

thank you