SlickGrid icon indicating copy to clipboard operation
SlickGrid copied to clipboard

get Grouping state

Open evagelos21 opened this issue 7 years ago • 1 comments

Hi to all, Can I have the state of grouping? for ex if the grid is in expand or collapse mode? thanks in advance

evagelos21 avatar Jan 07 '18 15:01 evagelos21

var dv = new DataView;
...
var groups = dv.getGroups();
for (var i = 0, l = groups.length; i < l; i++) {
    group = groups[i];
    Console.Log(group.value + ":" + group.collapsed);
}

untested, but should be close to the mark

6pac avatar Jan 09 '18 13:01 6pac