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

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

JonnyDotNetJonnyDotNet Posts: 1Questions: 0Answers: 0
edited August 2012 in Bug reports
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!

Replies

  • allanallan Posts: 62,211Questions: 1Answers: 10,205 Site admin
    Can you link me to a test case showing the problem with 1.9.3 please?

    Thanks,
    Allan
This discussion has been closed.