Bug in DT 1.8beta
Bug in DT 1.8beta
UPEngineer
Posts: 93Questions: 0Answers: 1
Allan,
Not sure if this has been discussed yet. I know I brought it up before you release the 1.8 beta.
It appears the DataTables_sort_wrapper is broken (at least for me). The sort icons do not show up unless I enable bSortClasses:true.
I do not need the Sort Classes enabled to help speed things up.
Is this the normal behaviour or a possible oversight?
Version 1.7.6 works.
Version 1.8beta 1 is broken.
I ahven't tried beta 2 yet.
Thanks,
Scott
Not sure if this has been discussed yet. I know I brought it up before you release the 1.8 beta.
It appears the DataTables_sort_wrapper is broken (at least for me). The sort icons do not show up unless I enable bSortClasses:true.
I do not need the Sort Classes enabled to help speed things up.
Is this the normal behaviour or a possible oversight?
Version 1.7.6 works.
Version 1.8beta 1 is broken.
I ahven't tried beta 2 yet.
Thanks,
Scott
This discussion has been closed.
Replies
[code]
$(document).ready(function() {
oTable = $('#example').dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"bSortClasses": false
});
} );
[/code]
Can you post a link to your example which doesn't work and I'll see if I can get a fix in for the next beta (which I hope to get out soon).
Allan
I narrowed it down.
If bSortClasses are set to false and bDeferRender is set to true, then the sort icons are not displayed (at least in my testing so far.)
Scott
When bDeferRender is set to true is adds span class Datatables_sort_icon.
However, when bDeferRender is set to false, it adds span class Datatables_sort_icon but it also adds css_right ui-icon ui-icon-carat-2-n-s to it as well.
Is this the normal behaviour or is DT not picking something up?
Scott
Allan