Is it like i can do it only if i have Pro Edition of DHTMLX

The code is corect, but the grouping can be used only with PRO version of dhtmlxgrid, it will not work with standard edition.