Hello.
I have a createdRow that works perfectly without an if, but when informed the desired does not happen, could you help me?
Follow code
var table = $('#hidden-table-info').DataTable({bFilter: true,paging: true,destroy: true,data: result.d.data,language: {"emptyTable": "Nenhuma informação encontrada"
},columnDefs: [{ className: 'text-center', targets: [0, 1, 2, 3] },],columns: [{ "data": "Documento" },{ "data": "ChapaEmissor" },{ "data": "Status" },{ "data": "Minuta" }],createdRow: function (row, data, dataIndex) {if (data === "37654800"){$(row).addClass('important btn-btn danger');}}});
Thanks!