Problem combining column sorting, row grouping and hidden row details
Problem combining column sorting, row grouping and hidden row details
nuno
Posts: 14Questions: 0Answers: 0
Hi!
I'm trying to combine all these features but it's not working correctly.
The table detail rows start by being collapsed. If I expand the last row of a group and then click sorting twice it expands correctly but after the sorting the details row ends up going into the next group.
My code for the row grouping is very similar to the one in the example:
[code]
"fnDrawCallback": function ( oSettings ) {
if ( oSettings.aiDisplay.length == 0 ) { return }
var nTrs = $j('#fleet_datatable tbody tr:not(.family)')
var iColspan = nTrs[0].getElementsByTagName('td').length
var sLastGroup = ""
for (var i=0;i
I'm trying to combine all these features but it's not working correctly.
The table detail rows start by being collapsed. If I expand the last row of a group and then click sorting twice it expands correctly but after the sorting the details row ends up going into the next group.
My code for the row grouping is very similar to the one in the example:
[code]
"fnDrawCallback": function ( oSettings ) {
if ( oSettings.aiDisplay.length == 0 ) { return }
var nTrs = $j('#fleet_datatable tbody tr:not(.family)')
var iColspan = nTrs[0].getElementsByTagName('td').length
var sLastGroup = ""
for (var i=0;i
This discussion has been closed.
Replies
Have you solved this problem ? I have the same issue.
No, I ended up dropping the grouping of rows as it seemed to be difficult to integrate with the other plugins.
Cheers,
nn