I am using JSOM to fetch the data from SharePoint list and binding into HTML table from JS file. And I would like to export the query(CAML Query) data into Excel, how can I do this?

1 Answer 1


Here is one jquery solution using which we can export SharePoint list to Excel, Word, JSON, XML, SQL, CSV, TXT or PDF.


Here you can get javascript and html code. as well as you can download the solution.

  • Vishal ,My entire code for retrieving the sharepoint list items is written in .JS file as i am holding site administrator permissions.I had code below to export the html table to excel which is working fine in chrome but unable to find luck in IE browser.Can you please help me how can i do this.
    – MSA
    Commented Apr 12, 2016 at 7:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.