How To Defer Render PHP

How To Defer Render PHP

josh4carjosh4car Posts: 4Questions: 0Answers: 0
edited February 2014 in General
Hey guys.

Apologies as I am still sort of a noob with all this. Love the plugin by the way.
My problem is with a large dataset. I am pulling in a list of users and all their details, including their profile image which defaults if there is none found. Cells also hyperlink to other pages as needed. The data is created through a php call which is looking for specific criteria then looped through to create the trs and tds. The table is generated and then it takes another 4-5 secs for datatables to re-render it. I would LOVE to use something like the deferred render, but really don't know how to do it using my specific php call and to include the links and such. Any suggestions?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    To use deferred rendering in DataTables you need to Ajax load the data - http://datatables.net/release-datatables/examples/ajax/defer_render.html

    Allan
This discussion has been closed.