fnServerData issue
fnServerData issue
michaelwhite
Posts: 8Questions: 0Answers: 0
Hi DataTables,
I have an issues where my returned json is failing.
basically its gets to the function as below and fails on
Microsoft JScript runtime error: Unable to get value of the property 'length': object is null or undefined
[code]
/* if there is an ajax source load the data */
if ( oSettings.sAjaxSource !== null && !oSettings.oFeatures.bServerSide )
{
var aoData = [];
_fnServerParams( oSettings, aoData );
oSettings.fnServerData.call( oSettings.oInstance, oSettings.sAjaxSource, aoData, function(json) {
var aData = (oSettings.sAjaxDataProp !== "") ?
_fnGetObjectDataFn( oSettings.sAjaxDataProp )(json) : json;
/* Got the data - add it to the table */
for ( i=0 ; i
I have an issues where my returned json is failing.
basically its gets to the function as below and fails on
Microsoft JScript runtime error: Unable to get value of the property 'length': object is null or undefined
[code]
/* if there is an ajax source load the data */
if ( oSettings.sAjaxSource !== null && !oSettings.oFeatures.bServerSide )
{
var aoData = [];
_fnServerParams( oSettings, aoData );
oSettings.fnServerData.call( oSettings.oInstance, oSettings.sAjaxSource, aoData, function(json) {
var aData = (oSettings.sAjaxDataProp !== "") ?
_fnGetObjectDataFn( oSettings.sAjaxDataProp )(json) : json;
/* Got the data - add it to the table */
for ( i=0 ; i
This discussion has been closed.