After "fnUpdate call" is not possible to show "hidden row"

After "fnUpdate call" is not possible to show "hidden row"

antonio77antonio77 Posts: 17Questions: 0Answers: 0
edited September 2010 in Bug reports
Dear all,

I try to make a "fnUpdate call" to "DataTables hidden row details example".
You can try the code to the following URL:
http://pierro.web.cern.ch/pierro/lib/dataTables-1.7/examples/api/row_details_update.html

Using firebug (firefox) or Developer tools (chrome or safari) go to "Javascript console" and run
>>> fnupdate_wrapper()
>>> fnupdate_wrapper //to see how the function is implemented

I tested it with Google Chrome, Firefox 3.6.10 and Safari with the same result.
(after uploading row, I can't expand row and no javascript error).

thanks,

Antonio

Replies

  • allanallan Posts: 63,691Questions: 1Answers: 10,500 Site admin
    I suspect it will be because the event handlers aren't being rebound when you do the update. Have a look at the FAQ on the top right: http://datatables.net/faqs (My events don't work on the second page). Easiest solution - probably to use live events.

    Allan
  • antonio77antonio77 Posts: 17Questions: 0Answers: 0
    Dear Allan,

    yes, using live events for opening and closing details make it working.

    thanks,

    Antonio
This discussion has been closed.