Q: DataTables hidden row details, not working for me

Q: DataTables hidden row details, not working for me

gavingavin Posts: 22Questions: 0Answers: 0
edited March 2010 in General
Here is my first attempt at the hidden row details:

http://173.45.232.58/shared/pages/datatables-open-close.php

I'm close... but not close enough. Thoughts?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Hi gavin,

    First thought is that the first cell in the thead (the one that you add) needs a class of "ui-state-default" (which is why it looks out of alignment).

    Second thought - (this is probably the main one for why it's now working correctly) - you are using DataTables 1.5.3, but the ability to pass a TR to fnGetData ( var aData = oTable.fnGetData( nTr ); ) was only added in 1.6.0. So I'd suggest dropping in 1.6.2 and seeing if that helps (there shouldn't be any incompatibilities, and it will hopefully fix point 1 for you as a by product).

    Third thought - you might want to not link to the images on this server, incase I move any of the resources here.

    Regards,
    Allan
  • gavingavin Posts: 22Questions: 0Answers: 0
    Great!

    I have removed the image hotlinks to your server, and I upgraded to 1.6.2. It works perfectly.

    thank you Allan!
This discussion has been closed.