Open GoogleCodeExporter opened 8 years ago
Work DataTables 1.10.3
$('#XXX').dataTable({
....
});
$('#XXX').dataTable().rowGrouping({
bExpandableGrouping: false,
bExpandSingleGroup: false,
iExpandGroupOffset: -1,
iGroupingColumnIndex: 0,
iGroupingColumnIndex2: 1,
sGroupLabelPrefix: "Rendering Engine - ",
fnGroupLabelFormat: function(label) { return ""+ label + ""; } ,
sGroupLabelPrefix2: "CSS Class - ",
fnGroupLabelFormat2: function(label) { return ""+ label + ""; },
bHideGroupingColumn: false,
bHideGroupingColumn2: false
});
Original comment by gira...@gmail.com
on 14 Mar 2015 at 3:27
Hi, here is the patched version using the suggested patch above.I have tested
it with DataTables 1.10.5 and this fiddle http://jsfiddle.net/RgKPZ/443/
Original comment by mar...@mgscreativa.com
on 18 Mar 2015 at 7:40
Attachments:
Hi, I'm new, not quite understand the essence of your message. The link was
http://jsfiddle.net/RgKPZ/443/ version jquery.dataTables.js 1.9.0
Did I do something wrong?
Original comment by gira...@gmail.com
on 21 Mar 2015 at 3:39
Page http://jsfiddle.net/RgKPZ/443/ I added jquery.dataTables.js version 1.10.5
and removed a number of values of the field Browser. I downloaded the data for
the table using ajax. When grouping is performed on a column with a Null value,
then I had problems. Especially when grouping the second level. So I used the
recommendations on the link
https://code.google.com/p/jquery-datatables-row-grouping/issues/detail?id=55&can
=1&q=mData
Thanks for the post
Original comment by gira...@gmail.com
on 21 Mar 2015 at 3:47
[deleted comment]
FYI: I exported this dead project to github:
https://github.com/djwoodward/jquery-datatables-row-grouping
Original comment by dan.jonw...@gmail.com
on 27 Mar 2015 at 4:14
Original issue reported on code.google.com by
gira...@gmail.com
on 14 Mar 2015 at 3:21Attachments: