angular-datatables icon indicating copy to clipboard operation
angular-datatables copied to clipboard

unable to export to excel?

Open harshamaddineni opened this issue 10 years ago • 2 comments

Could some one create plunker or fiddle for export to excel? i am not sure why it is not working for me? i tried with various options but none of them are working?

when i tried with sample html data by including them in tr and td

1 test

its working. when i am using ng-repeat, its not working. The file is getting exported but no data.

i am able to see the data in table. but at the bottom i am seeing " no data available in the table" info message as well

The Javascript files that i included are

  1. jquery.dataTables.min.js
  2. angular-datatables.js
  3. angular-datatables.buttons.min.js
  4. dataTables.buttons.js
  5. buttons.flash.js

harshamaddineni avatar Jun 01 '16 16:06 harshamaddineni

@harshamaddineni I'm having same problem, Did you find any solution for this?

jkinney33 avatar Feb 05 '18 14:02 jkinney33

See #1140

For HTML5 export to PDF you need to install :

npm install pdfmake For HTML5 excel export you need to install:

npm install jszip and include both above the datatables.buttons.js import

Bonny23TW avatar Mar 01 '18 05:03 Bonny23TW