
jquery-datatables-row-grouping - issue #91
Patch for /trunk/media/js/jquery.dataTables.rowGrouping.js
Null values grouping and add sEmptyGroupLabel; mDataProp -> mData;
Comment #1
Posted on Mar 14, 2015 by Massive BearWork 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 });
Comment #2
Posted on Mar 18, 2015 by Quick CatHi, 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/
Comment #3
Posted on Mar 21, 2015 by Massive BearHi, 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?
Comment #4
Posted on Mar 21, 2015 by Massive BearPage 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
Comment #5
Posted on Mar 27, 2015 by Grumpy RabbitComment deleted
Comment #6
Posted on Mar 27, 2015 by Grumpy RabbitFYI: I exported this dead project to github: https://github.com/djwoodward/jquery-datatables-row-grouping
Status: New
Labels:
Type-Patch