Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get row data in datatable

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