Creating JSON to be consumed by jQuery DataTables |
[eluser]LinkFox[/eluser]
$this->output->set_header('Content-type: text/plain'); Should be $this->output->set_header('Content-type: application/json'); To start. The documentation here shows a different JSON format to what you're returning. http://datatables.net/release-datatables.../ajax.html |
Messages In This Thread |
Creating JSON to be consumed by jQuery DataTables - by El Forum - 09-07-2012, 09:42 PM
Creating JSON to be consumed by jQuery DataTables - by El Forum - 09-09-2012, 09:47 AM
Creating JSON to be consumed by jQuery DataTables - by El Forum - 09-09-2012, 11:07 AM
Creating JSON to be consumed by jQuery DataTables - by El Forum - 09-10-2012, 06:15 AM
|