frtgbs07 / jquery-datatables-row-grouping

Automatically exported from code.google.com/p/jquery-datatables-row-grouping
0 stars 0 forks source link

how to use asExpandedGroups ? #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I want to colaspse all the groups when the table is loaded. How can I do that?
I tried to colapse all but one using asExpandedGroups, but it doesn't work 
(none colapse at all!)

Original issue reported on code.google.com by georges....@gmail.com on 26 Apr 2012 at 9:56

GoogleCodeExporter commented 9 years ago
I needed the same functionality.  The following worked for me:
        .rowGrouping({
            asExpandedGroups: [],
            bExpandableGrouping: true,
            bHideGroupingColumn: true
        });

Original comment by markwarr...@gmail.com on 1 Jun 2012 at 4:46

GoogleCodeExporter commented 9 years ago
I believe that this was the answer to your question.

Jovan

Original comment by joc...@gmail.com on 13 Jul 2012 at 1:44