Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82602

function() doesnt work when in responsive

$
0
0

I have a function that changes the table header text and it works fine.
the problem is that when the table is in responsive,

the function doest work and the text doesnt change anymore.

any idea how will i solve this?

'initComplete': function(settings){
var api = new $.fn.dataTable.Api(settings);
api.columns().header().each(function(column){
if($(column).text() === 'blac'){
$(column).text(window.Labels.blac);
}


Viewing all articles
Browse latest Browse all 82602

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>