hi,
i try thi sample http://www.datatables.net/examples/data_sources/server_side.html, where data is procesed on server. i prepare tables in DB and data. and nothing isn't displayed in datable?
Then i crete same server_prcosing php and i checked syntax from php it was OK same as json, but jquery.datable did not process any data on screen.
source:
style type="text/css" title="currentStyle">
@import "css/demo_page.css";
@import "css/demo_table_jui.css";
@import "css/smoothness/jquery-ui-1.7.2.custom.css";
</style>
<script src="lib/jquery.dataTables.js" type="text/javascript" language="javascript"></script>
$().ready(function() {
...
$("#example").dataTable({
"bProcessing": true,
"bServerSide": true,
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"sAjaxSource": "SearchForms/server_processing.php"
});
});
php returns server_processing.php:
{"sEcho": 0, "iTotalRecords": 11, "iTotalDisplayRecords": 11, "aaData": [ ["oiu","oui","oiu","\"],["","","","\"],["","","","\"],["","","","\"],["","","","\"],["","","","\"],["","","","\"],["punto","fiat 1","punto","\"],["fiat 3","punto","fiat 3","\"],["punto","fiat 2","punto","\"],["Fiat putno grane","sdfksdf jčfj fčdlfjkwejkwečrlwejčrlwejrčlkwjerjkl","Fiat putno grane","234234\"]] }
where did i miss?