Failed to populate a datatable records

Failed to populate a datatable records

tumbero_xtumbero_x Posts: 63Questions: 0Answers: 0
edited July 2011 in General
Hello !
I'm trying to fill a datatable jquery
The problem is that I want to do the traditional way without these options
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "scripts / server_processing.php"
I want to do just using php and mysql
but throws javascript error, specifically the
'undefined' is null or not an object
Can anything be done?
Greetings and thank you very much

Replies

  • allanallan Posts: 63,552Questions: 1Answers: 10,477 Site admin
    How do you want to get the data from your PHP / MySQL server into the DataTable? There are four basic ways, described here: http://datatables.net/usage/#data_sources . The easiest is simply to output a plain HTML table and then run $('#example').dataTable();

    Allan
  • tumbero_xtumbero_x Posts: 63Questions: 0Answers: 0
    Thank you very much! regards
This discussion has been closed.