sColumns is null - server side processing - Version 1.9.2 line 1707
sColumns is null - server side processing - Version 1.9.2 line 1707
![JonnyDotNet](https://secure.gravatar.com/avatar/b341ab0f29b3853e948e67998a1eb674/?default=https%3A%2F%2Fvanillicon.com%2Fb341ab0f29b3853e948e67998a1eb674_200.png&rating=g&size=120)
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