sColumns is null - server side processing - Version 1.9.2 line 1707
sColumns is null - server side processing - Version 1.9.2 line 1707

Hi Allan, It looks like an old bug has crept back in, please see post below.
http://datatables.net/forums/discussion/950/scolumns-not-defined-and-data-doesn-load/p1
The error is now on line 1707 in version 1.9.2
My solution was to change:
[code]var bReOrder = (json.sColumns !== undefined && sOrdering !== "" && json.sColumns != sOrdering);[/code]
to
[code]var bReOrder = (json.sColumns != null && sOrdering !== "" && json.sColumns != sOrdering);[/code]
Thanks for a great product!
http://datatables.net/forums/discussion/950/scolumns-not-defined-and-data-doesn-load/p1
The error is now on line 1707 in version 1.9.2
My solution was to change:
[code]var bReOrder = (json.sColumns !== undefined && sOrdering !== "" && json.sColumns != sOrdering);[/code]
to
[code]var bReOrder = (json.sColumns != null && sOrdering !== "" && json.sColumns != sOrdering);[/code]
Thanks for a great product!
This discussion has been closed.
Replies
Thanks,
Allan