bug with translate plugin ?

bug with translate plugin ?

tophe93tophe93 Posts: 3Questions: 2Answers: 0
edited March 2017 in Free community support

hello,
i have an issue using language file and using fnrowcallback function,

in fact i'd like to add some classes to row and filters,

but it seems language is redrawing all table and clearing all fnrowcallback function

is there a bug with it or am i doing something wrong ?

var oTable_ = $("#table").dataTable({
"width": "100%",
"iDisplayLength" : 50,
"fixedHeader": true,
"editable": true,
"bAutoWidth": true,
"language": {
"url": "/js/datatables.french.lang"
},
"fnRowCallback": function(nRow, aData) {
$(nRow).data("ref", aData[0]);
}
});

Answers

This discussion has been closed.