server side generated table
server side generated table
Instead of using the server_processing.php which generates a JSON I directly generate a datatables compliant table from the server with php. Works fine, with jEditable as well, so I'd better not touch it.
But I'm curious (as in "kills the cat"): is there any disadvantage in doing it that way? Put differently: what is the advantage of using JSON?
Timmo
But I'm curious (as in "kills the cat"): is there any disadvantage in doing it that way? Put differently: what is the advantage of using JSON?
Timmo
This discussion has been closed.
Replies
So when you load the table each time do you re-initialise the DataTable (i.e. $(...).dataTable(); )? It's probably not the most efficient way of doing it in terms of processing time - but there is nothing wrong with it as such - as you note, it works :-)
Regards,
Allan
Thanks for your quick reply. Yes I retrieve from the server and reinitialise dataTables each time. Indeed not the most efficient way but for the time being I can live with that. Going forward i will need to change that.
Thanks for this brilliant peace of work!
Timmo