Server side processing returns data but doesnt display on table
Server side processing returns data but doesnt display on table
xcompl3x
Posts: 1Questions: 0Answers: 0
I'm having a bit problems with codeigniter and server side processing...
I'm using this:
https://github.com/IgnitedDatatables/Ignited-Datatables/
My code:
[code]
Messages
From
Subject
Date
Loading messages...
fnServerObjectToArray = function ( aElements ){
return function ( sSource, aoData, fnCallback ) {
var csrf = {"name": "'.$this->security->get_csrf_token_name().'", "value":"'.$this->security->get_csrf_hash().'"};
aoData.push(csrf);
$.ajax( {
"dataType": "json",
"type": "POST",
"url": sSource,
"data": aoData,
"success": function (json) {
var a = [];
for ( var i=0, iLen=json.aaData.length ; i
I'm using this:
https://github.com/IgnitedDatatables/Ignited-Datatables/
My code:
[code]
Messages
From
Subject
Date
Loading messages...
fnServerObjectToArray = function ( aElements ){
return function ( sSource, aoData, fnCallback ) {
var csrf = {"name": "'.$this->security->get_csrf_token_name().'", "value":"'.$this->security->get_csrf_hash().'"};
aoData.push(csrf);
$.ajax( {
"dataType": "json",
"type": "POST",
"url": sSource,
"data": aoData,
"success": function (json) {
var a = [];
for ( var i=0, iLen=json.aaData.length ; i
This discussion has been closed.