2016-03-30 5 views

Répondre

0

Je mananged de le faire en utilisant jQuery et la fonction drawCallback dataTable spécifique:

drawCallback: function(settings) { 
     $(".dataTable thead tr th span.icon-up-open").remove(); 
     $(".dataTable thead tr th span.icon-down-open").remove(); 
     $(".dataTable thead tr th.sorting_desc").append("<span class='pull-right icon-up-open'></span"); 
     $(".dataTable thead tr th.sorting_asc").append("<span class='pull-right icon-down-open'></span"); 
    }