Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery datatables get selected 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: #jquery #datatables #selected #row #data
ADD COMMENT
Topic
Name
8+9 =