SMART datagrid v.1 > Classes > GridView
Return the number of stages which have been done row grouping.
If not done grouping, it will return 0.
Defaults to 0.
$('#groupby').click(function (ev)) {
if (grid.rowGroupLevels() == 0) {
grid.groupBy(['comapny']);
}
};