bug with language plugin ?

bug with language 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 ?

thanks for help

Answers

  • tophe93tophe93 Posts: 3Questions: 2Answers: 0

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

  • allanallan Posts: 63,552Questions: 1Answers: 10,477 Site admin

    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

This discussion has been closed.