FixedColumns and sorting problem
FixedColumns and sorting problem
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
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
This discussion has been closed.
Replies
It loads for me. I've just checked.
SZegad
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
Thank you for the quick fix!
Best wishes,
SZegad