data table button click event code example
Example: datatable bootstrap cllick on specific button
// https://stackoverflow.com/a/32475592/3673842
// html
'<button class="my-custom-button btn btn-outline-danger">My custom button</button>'
$('#table-id tbody').on( 'click', 'button.my-custom-button', function () {
alert(alert($(this).text())) // will display "My custom button"
})