Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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');
  	}
} );
Source by datatables.net #
 
PREVIOUS NEXT
Tagged: #datatables #row #created
ADD COMMENT
Topic
Name
8+6 =