dataset datatable datarow datacolumn c# datarow.field code example
Example 1: 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');
}
} );
Example 2: datatable
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/dt-1.10.22/datatables.min.css"/>
<script type="text/javascript" src="https://cdn.datatables.net/v/dt/dt-1.10.22/datatables.min.js"></script>