Problem combining column sorting, row grouping and hidden row details

Problem combining column sorting, row grouping and hidden row details

nunonuno Posts: 14Questions: 0Answers: 0
edited June 2012 in DataTables 1.9
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

Replies

  • badeabadea Posts: 16Questions: 0Answers: 0
    Hi Nuno !

    Have you solved this problem ? I have the same issue.
  • nunonuno Posts: 14Questions: 0Answers: 0
    Hi!

    No, I ended up dropping the grouping of rows as it seemed to be difficult to integrate with the other plugins.

    Cheers,
    nn
This discussion has been closed.