How can apply export option to Datatable

How can apply export option to Datatable

kishorkabadikishorkabadi Posts: 9Questions: 4Answers: 0

when i load html,table structure is

$(document).ready(function() {
$('#EmployeeMusterReport').DataTable( {
dom: 'Bfrtip',
buttons: [
'copy', 'csv', 'excel', 'pdf', 'print'
]
} );
} );

once i was click button and gets data and appended to table but its not able to apply paging,searching,export option to table.

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    Hi @kishorkabadi ,

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.