Seeing Full Rendered Table before dataTables render

Seeing Full Rendered Table before dataTables render

josh4carjosh4car Posts: 4Questions: 0Answers: 0
edited July 2013 in General
Hi guys.

I have a slight problem where I am building a large table through php. When the page loads the full table renders for a brief second before dataTables grabs it and re-renders it to my chosen settings. Has anyone experienced this before? Is there anyway I can hide this table and then have dataTables show it on draw?

Replies

  • fbasfbas Posts: 1,094Questions: 4Answers: 0
    You could use the Ajax source method instead of rendering your own elements.

    http://datatables.net/examples/data_sources/ajax.html

    If you feel the need to render elements for people that don't use Javascript, put that into the tag.
This discussion has been closed.