zeitlin / jquery-datatables-row-grouping

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

Do not group on single row #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Can I not-group single rows ?
For example:
A
A
B
B
C
D
D
should group A,B,D, but not C. 

Can I do that ?

Thanks.

Original issue reported on code.google.com by Nir....@gmail.com on 29 Mar 2012 at 1:41

GoogleCodeExporter commented 9 years ago
Unfortunately no. Each time plugin finds a new grouping value in the column it 
will insert a new grouping row.
Also, it would look a bit strange because it would look like a new row is 
placed in the same group as the previous row if there is no separator.

However, you might change this because if you see generated source you will see 
that grouping row has an id "group-<name-of-the-cell>" so you can use standard 
JQuery to hide it.

Jovan 

Original comment by joc...@gmail.com on 4 Apr 2012 at 7:49