Hi,
I have implemented the data table and trying to put the export buttons on the page.iput all the code mentioned in forums and examples.
I have implemented the data table and trying to put the export buttons on the page.iput all the code mentioned in forums and examples.
<table id='example' class="table table-striped table-bordered bootstrap-datatable datatable"> .. .. .. <table> <script src='js/jquery.dataTables.min.js'></script> <script src="js/TableTools.min.js"></script> <script> $(document).ready( function () { $('#example').dataTable( { "bRetrieve" : true, "sDom": '<"H"Tfr>t<"F"ip>', "oTableTools": { "sSwfPath": "http://datatables.net/release-datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf", "aButtons": [ { "sExtends": "print", "sButtonText": "Print", "bShowAll": true, "sMessage": "Record Data", }, { "sExtends": "pdf", "sButtonText": "Export to PDF" }, { "sExtends":"xls", "sButtonText": "Export for Excel" } ]} }); } ); </script>