Answers for "datatables on row created"

0

datatables on row created

$('#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');
  	}
} );
Posted by: Guest on February-19-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language