Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

make button inside datatable

$('#example').DataTable( {
  dom: 'Bfrtip',
  buttons: [
      {
          text: 'My button',
          action: function ( e, dt, node, config ) {
              alert( 'Button activated' );
          }
      }
  ]
} );
Source by datatables.net #
 
PREVIOUS NEXT
Tagged: #button #datatable
ADD COMMENT
Topic
Name
1+7 =