how to add counted field column to the export file
how to add counted field column to the export file
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
here instead of the view course we need to add the number of counted courses
were using this code for download or export file
echo ' ';
echo ' <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/select/1.3.3/css/select.dataTables.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/buttons/2.0.0/css/buttons.dataTables.min.css">
';
echo "
$(document).ready(function() { $('.generaltable').DataTable({ dom: 'Bfrtip', pageLength: 30, lengthMenu: [[10, 20, 50, 100,-1], [10,20, 50, 100, 'Todos']], buttons: [ { extend: 'collection', text: 'Export', buttons: [ 'copy', 'excel', 'csv', 'pdf', 'print' ] } ]}) } );
";
Answers
It looks like you're spamming us with this question. Please see my reply in your other thread, and please don't repost the same question,
Colin