Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82532

DT 10.1 - Extra button

$
0
0

Hello,

I have buttons initially disabled who become active when i select a row. How can i add an extra button (always active) linked to another ajax call i.e ?

At this time i have something like this :

buttons: true, buttons: [ { extend: 'selectedSingle', className: "btn btn-primary sButtonClass", text: '<i class="fa fa-pencil-square-o"></i> Détail', action: function ( e, dt, button, config ) { console.log( dt.row( { selected: true } ).data() ); } },

Thanks


Viewing all articles
Browse latest Browse all 82532


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>