Datatables angularjs button view/edit/delete not fired if collapsed

Datatables angularjs button view/edit/delete not fired if collapsed

bobino17bobino17 Posts: 7Questions: 2Answers: 0
edited December 2020 in Free community support

Hi guys,
I got a problem implementing view/edit/delete button in the row calling a angualrjs function.
My table is big and it is collaped, when I open the "sub row" the button method is not called.

Someone can help me ?

Thanks in advance.

$(function () {
$('#datatable').DataTable();
var table = $('#datatable-buttons').DataTable({
dom: 'Bfrtip',
buttons: ['copy', 'excel', 'pdf', 'colvis','pageLength'],
lengthMenu: [
[ 10, 25, 50, -1 ],
[ '10 rows', '25 rows', '50 rows', 'Show all' ]
],
"order": [[1, "desc"]],
responsive: {
details: false
}
});
table.buttons().container()
.appendTo('#datatable-buttons_wrapper .col-md-6:eq(0)');
} );

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.