FixedColumns and sorting problem

FixedColumns and sorting problem

szegadszegad Posts: 3Questions: 0Answers: 0
edited April 2012 in Plug-ins
Hi,
I've just started using DataTables and I've already felt in love :).
However I found a problem with sorting table with FixedColumns enabled:
the fixed columns don't get sorted, just stay in the initial order.
I've tried different it with and without ajax, tried to simplify the table to get is sorted, but no luck.
My js error console gives me the error:
[code]
Error: b("span.DataTables_sort_icon", l[d][i].cell)[0] is undefined
Source File: http://localhost/table/js/FixedColumns.min.js
Line: 41
[/code]
For testing purposes I've uploaded the table to:
http://noswift.rhosting.eu/datatables/table.html
I hope that it's easy to fix, because really enjoy fixed columns.

Thank you!
SZegad

Replies

  • koosvdkolkkoosvdkolk Posts: 169Questions: 0Answers: 0
    http://noswift.rhosting.eu/datatables/table.html does not load?
  • szegadszegad Posts: 3Questions: 0Answers: 0
    @koosvdkolk
    It loads for me. I've just checked.
    SZegad
  • allanallan Posts: 63,680Questions: 1Answers: 10,498 Site admin
    Hi,

    I'm afraid that there was a bug introduced in FixedColumns 2.0.3... I've just committed a fix which will be in the next release, but you can getting it immediately from the FixedColumns nightly on the downloads page: http://datatables.net/download/

    Thanks very much for letting me know about this!

    Regards,
    Allan
  • szegadszegad Posts: 3Questions: 0Answers: 0
    I can confirm that the night build (2.0.4) works.

    Thank you for the quick fix!

    Best wishes,
    SZegad
This discussion has been closed.