Collapse all group at first loading

Dear Sir,

Could you tell me how to Collapse all group on the Grid at first loading.
thank you.

Best Regards,
Kenneth CHo

Pleas,e try to use the collapseAllGroups() method after the data is loaded to the grid.
docs.dhtmlx.com/api__dhtmlxgrid_ … roups.html