victorette / jquery-datatables-row-grouping

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

Can't regroup after initialised #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Init with: oTable.rowGrouping({iGroupingColumnIndex: 1});
2. Create onClick event i.e. this:
$('#example thead th').click(function() {    
oTable.rowGrouping({iGroupingColumnIndex: 2});});
3. Click on table head

What is the expected output? What do you see instead?
Expected new grouping on columnIndex 2, but nothing like that happen.

What version of the product are you using? On what operating system?
I'm using dataTables 1.9.3 and Row grouping ver. 1.2.7

Please provide any additional information below.

Original issue reported on code.google.com by cato...@gmail.com on 28 Sep 2012 at 2:56

GoogleCodeExporter commented 8 years ago
oTable.rowGrouping({iGroupingColumnIndex: 1});
oTable.draw();

//call draw function, to redraw this, you should be fine. 

Original comment by chakr...@gmail.com on 12 Dec 2014 at 11:13