1$('#example').DataTable( {
2 createdRow: function ( row, data, index ) {
3 // row = tr node
4 // data = raw data (array or obj)
5 // index = The index of the row in DataTables' internal storage.
6 $(row).addClass('highlight');
7 }
8} );