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);
}