-1

I am trying to get my html table in a MS Excel document and I have tried many examples from here and internet but most of them didn't work. Mostly I can download a .xls file and when excel opens that file it comes nothing (not even standard Excel grid). And when I open the .xls files with Notepad, I can see that file actually holds values.

Most of the comments in previous questions were telling they work but these question dates are also little bit old and I can't tell if I am having version problems.

For example Javascript to export html table to Excel , I can download an Excel file but can't see values in it.

Also this DataTables example work well for me but I don't need all the stuff they provide like searching and listing.

Please let me know if any of you had such trouble and how did you solve them.

Community
  • 1
  • 1
user52
  • 11
  • 3

1 Answers1

0

You have a solution (by your own admission): DataTables. Any features you don't need can be turned off or just not used.

Scott Hunter
  • 48,888
  • 12
  • 60
  • 101
  • yeah, but it still does not explain why i got problems after previous attempts with javascript – user52 Jul 28 '16 at 13:13
  • Maybe you did something wrong in code you couldn't be bothered to post? Debugging questions usually include what needs to be debugged. – Scott Hunter Jul 28 '16 at 14:02