"sData is null" error
"sData is null" error
samy_r
Posts: 13Questions: 0Answers: 0
Hi,
Following the allan advice of using 1.8 version to solve my re-ordering problems, I just tested the 1.8b1 on one of my pages.
With the 1.7.6 version, no problem, the datatable is displaying my datas (retrieved using sAjaxSource and a custom fnServerData function).
But, with 1.8b1, the "sData is null" error is fired at line 720 :
"if ( typeof sData == 'number' || sData.length === 0 )"
(the init code for my DT is very standard, and works with 1.7.6)
Following the allan advice of using 1.8 version to solve my re-ordering problems, I just tested the 1.8b1 on one of my pages.
With the 1.7.6 version, no problem, the datatable is displaying my datas (retrieved using sAjaxSource and a custom fnServerData function).
But, with 1.8b1, the "sData is null" error is fired at line 720 :
"if ( typeof sData == 'number' || sData.length === 0 )"
(the init code for my DT is very standard, and works with 1.7.6)
This discussion has been closed.
Replies
Thanks,
Allan
To make a temp patch, I correct the function adding this :
[code]
if (sData == null) {
sData = '';
}
[/code]
Allan
Allan