jQuery Datatables append after DOM loaded

jQuery Datatables append after DOM loaded

rosuandreimihairosuandreimihai Posts: 18Questions: 3Answers: 1

Hi,

I have a problem regarding a table loaded with append into DIV after DOM has already loaded
The table pulls his data from a database, but when loading it after DOM initialization the server side is not working at all
I am using firebug for debuging purpose and the server_side,php is not loading at all
I also reload the table after append into DIV like this:

$('#dt_partners_details').dataTable().fnDraw();

MIhai Rosu

Answers

  • rosuandreimihairosuandreimihai Posts: 18Questions: 3Answers: 1
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    I think we'd need a link to the page showing the problem for this to be able to offer much help.

    Allan

  • rosuandreimihairosuandreimihai Posts: 18Questions: 3Answers: 1

    I will give you access to the CMS in few minutes, just wait to update the rights for new user

  • rosuandreimihairosuandreimihai Posts: 18Questions: 3Answers: 1
    edited July 2014

    I posted you a PM

  • rosuandreimihairosuandreimihai Posts: 18Questions: 3Answers: 1

    Allan, I've solved the error
    I just reinitialised the code after the append and all turned out perfect!

    Mihai

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

    HI,

    Good to hear that you managed to get it sorted out!

    Allan

This discussion has been closed.