📅  最后修改于: 2022-03-11 15:03:19.638000             🧑  作者: Mango
$('#example').DataTable( {
createdRow: function ( row, data, index ) {
// row = tr node
// data = raw data (array or obj)
// index = The index of the row in DataTables' internal storage.
$(row).addClass('highlight');
}
} );