What steps will reproduce the problem? 1. Reproduced here at jsfiddle: http://jsfiddle.net/WOPiersol/33fD6/1/
What is the expected output? What do you see instead? When paging grouped results with the per page result number set to 10, I expect to see 10 groups. But you get the first 10 records of the first group.
What version of the product are you using? On what operating system? rowGrouping 1.2.9 DataTables 1.10.1 OS - Windows 7
Please provide any additional information below.
First off, I would like to say thanks to anyone everyone who has contributed to the DataTables plug in. It gets my vote hands down as the best and most useful jQuery plug in.
Now my question. I have a table that has 500 records. When grouped, it has 5 groups, each with 100 record. If I set it to page on 50 records per page, I get the first 50 records of the 1st group. What I think I would get is the first 50 groups, or in this case, all 5 groups.
Example: http://jsfiddle.net/WOPiersol/33fD6/1/
Can this be configured?
Thanks, WOPiersol
Comment #1
Posted on Jul 21, 2014 by Quick PandaIt should be noted that in the JS fiddle example you're initializing the data table as $('#example').dataTable().rowGrouping... meaning even though you have 1.10 installed you're instantiating the 1.09 API.
To instantiate the 1.10 API make the 'd' upper case in dataTable. $('#example').DataTable().rowGrouping... Although 1.10 may not work presently without an update to the rowGrouping plugin.
Comment #2
Posted on Jul 21, 2014 by Quick PandaTested your jsfiddle example with 'dataTable' as 'DataTable and it runs fine. Did you run into the error "Uncaught TypeError: undefined is not a function" rowGrouping at any point? If so, could you share the fix?
Status: New
Labels:
Type-Defect
Priority-Medium