Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

datatable get row data

var table = $('#example').DataTable();

$('#example tbody').on( 'click', 'tr', function () {
    console.log( table.row( this ).data() );
} );
Source by datatables.net #
 
PREVIOUS NEXT
Tagged: #datatable #row #data
ADD COMMENT
Topic
Name
3+7 =