datatable-buttons

Exporting jquery datatable to excel with additional rows is not working IE

心已入冬 提交于 2019-12-25 12:43:09
问题 I am trying to export datatable using jquery export button options to excel sheet. And i want additional rows to be added before the table data in excel file. I made a similar demo in fiddle https://jsfiddle.net/xevpdeo1/17/ . It is working fine in Chrome and Firefox but not in IE. In IE the additional rows before the table data is empty after exporting. Can someone help me out with this? Thanks in advance $(document).ready(function() { var xlsBuilder = { filename: 'business-group-sharers-',

Exporting jquery datatable to excel with additional rows is not working IE

丶灬走出姿态 提交于 2019-12-25 12:43:03
问题 I am trying to export datatable using jquery export button options to excel sheet. And i want additional rows to be added before the table data in excel file. I made a similar demo in fiddle https://jsfiddle.net/xevpdeo1/17/ . It is working fine in Chrome and Firefox but not in IE. In IE the additional rows before the table data is empty after exporting. Can someone help me out with this? Thanks in advance $(document).ready(function() { var xlsBuilder = { filename: 'business-group-sharers-',

dataTable issue in PDF page size and orientation

﹥>﹥吖頭↗ 提交于 2019-12-25 05:19:15
问题 I have used datatable plugin for export pdf, csv, xls and print. I have problem in pdf view. When I click on download pdf button my pdf file data not coming full width. Please check this link - https://datatables.net/extensions/buttons/examples/html5/pdfPage.html Screenshot: code: {extend: 'copy'}, {extend: 'csv'}, {extend: 'excel', title: 'DownloadExcel'}, {extend: 'pdf'}, {extend: 'print', customize: function(win) { $(win.document.body).addClass('white-bg'); $(win.document.body).css('font