Hello everybody, I had used createdrow in order to affect a classname for some rows depending from values. My problem is after editind a row with editor tools, the class didn't keep affect.
my code :
"createdRow": function ( row, data, index ) {
/* ajout des classes de label a la colonne état (colonne 6)*/
var dataEtatQualite = data.qualite.etat;
var classLabel = data.configurationEtats[dataEtatQualite].class;
$('td:eq(6)', row).html( '<span class="label ' + classLabel + '">' + dataEtatAction + '</span>' );
}
It works perfectly when loading the datatable but not after editing. Thanks a lot for your help.