frtgbs07 / jquery-datatables-row-grouping

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

Second level grouping needs to have the same fix as applied for Issue 31 #83

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For second level grouping, the same fix for Issue 31 needs to be applied for 
sGroupData2.

When using second level grouping, you get a null reference in toLowerCase() in 
the _fnGetCleanedGroup b/c the aData is a map now instead of an indexed array. 
You must use the fnGetData() call to translate the column index to the actual 
data value:

Line: 423 should be:

sGroupData2 = this.fnGetData(nTrs[i], properties.iGroupingColumnIndex2);

And comment existing lines 423-425 to fix the problem.

Original issue reported on code.google.com by lon...@gmail.com on 28 Jul 2014 at 9:27