How to disable groupBy in dhtmlXGrid?

Simple question, but cannot find the answer for it…

Once groupBy has been used, how do I disable it through API usage?

I first enable it with:

gridFSMBrowse.groupBy(5);

But how to disable it after the grid has been rendered on screen?

To return the grid into plain view, the following command should be called:

grid.unGroup();

More information you can get here: http://docs.dhtmlx.com/doku.php?id=dhtmlxgrid:grouping