My initialization:
Second column my table contains HTML link this type:
<a href="http://www.waymarking.com/users/profile.aspx?f=1&guid=
1d0052f6-913a-4989-b61e-3824b2af1221&mypage=1>=2">8Nuts MotherGoose<a/>
When I run my table (http://members.chello.cz/arozehnal/gc/profiles/wm/top_1000.html) on PC (IE 9. Firefox)
everything works fine. On my Android4 (Chrome, stock browser) device sorting second column works very strange.
I tried to add:
{ "sType": "html", "aTargets": [ 1] }
but sorting on Android works same bad :-(.
Anythning help? Thanks.
$(document).ready(function() { $('#example').dataTable( { "sPaginationType": "full_numbers", "bStateSave": true, "aLengthMenu": [[10, 30, 50, 100,-1], [10, 30, 50,100, "All"]], "fnDrawCallback": function ( oSettings ) { var that = this; /* Need to redo the counters if filtered or sorted */ if ( oSettings.bSorted || oSettings.bFiltered ) { this.$('td:first-child', {"filter":"applied"}).each( function (i) { that.fnUpdate( i+1, this.parentNode, 0, false, false ); } ); } }, "aoColumnDefs": [ { "bSortable": false, "aTargets": [ 0 ] }, { "sType": "numeric", "aTargets": [ 3] } ], "aaSorting": [[ 2, 'desc' ]] } ); } );
Second column my table contains HTML link this type:
<a href="http://www.waymarking.com/users/profile.aspx?f=1&guid=
1d0052f6-913a-4989-b61e-3824b2af1221&mypage=1>=2">8Nuts MotherGoose<a/>
When I run my table (http://members.chello.cz/arozehnal/gc/profiles/wm/top_1000.html) on PC (IE 9. Firefox)
everything works fine. On my Android4 (Chrome, stock browser) device sorting second column works very strange.
I tried to add:
{ "sType": "html", "aTargets": [ 1] }
but sorting on Android works same bad :-(.
Anythning help? Thanks.