Hakimuddin-Sabunwala / jquery-datatables-row-grouping

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

Grouping by year does not hide the date field #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a table with 3 columns, date column, and two string columns, date 
column is the first visible column.
2. Set up row grouping to group by the date with expenation rows.

What is the expected output? What do you see instead?
The expected output is the two string columns. The grouping works correctly 
however the date column is still visible.

What version of the product are you using? On what operating system?
jquery.dataTables.grouping.js - 1.1.6
jquery.dataTables.min.js - 1.8.2
jquery-1.7.1
IE 9.0.8112.16421
Windows Server 2008

Please provide any additional information below.

Sample: Code
var dataTable = $("#datatables").dataTable({...});
dataTable.rowGrouping({                
                sGroupBy: "year",
                sDateFormat: "yyyy",                                
                bExpandableGrouping: true,
                asExpandedGroups: "NONE"
            });

Original issue reported on code.google.com by cameronc...@gmail.com on 19 Apr 2012 at 8:08

GoogleCodeExporter commented 9 years ago
Hi,

I have created example on 
http://jquery-datatables-row-grouping.googlecode.com/svn/trunk/support/issue26.h
tml, but I could not reproduce what you have reported. However, I have notice 
few other issues in this mode which are fixed in the version 1.2.3+.

Regarding your configuration:
1. Use full date format e.g. dd/MM/yyy
2. If you are using expandable groups use .dataTable({ "bLengthChange": false, 
"bPaginate": false}) otherwise it will group only fields that are currently 
visible.

As you can see in my example it works fine. Let me know if you still have a 
problem with this.

Jovan

Original comment by joc...@gmail.com on 16 Jul 2012 at 9:00