bug with language plugin ?
bug with language plugin ?
tophe93
Posts: 3Questions: 2Answers: 0
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 ?
thanks for help
This discussion has been closed.
Answers
edit : for posting case :
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]);
}
If you post a link to a page showing the issue I'd be happy to take a look into it. I don't immediately see anything wrong with the code above.
Allan