Get Data From Server and populate it in column, Clint Side Excel Export.

Get Data From Server and populate it in column, Clint Side Excel Export.

engr_rashidali4engr_rashidali4 Posts: 9Questions: 2Answers: 0

I am working on clientside Custom Excel Export, I want to populate the column named as "Logs" with the data from the server when the user/ client presses the export button. can anyone suggest, how to accomplish that...

Answers

  • allanallan Posts: 63,441Questions: 1Answers: 10,465 Site admin

    This example shows DataTables Ajax loading data for the table and also having an Excel export button. Is that what you mean?

    Allan

  • engr_rashidali4engr_rashidali4 Posts: 9Questions: 2Answers: 0

    @allan Thanks for the Reply, This is not the one I am talking about, the data was loaded on the initial request and working well. But when the User wants to export in EXCEL the column named "LOGS" will populate with new data responded from the server.

  • allanallan Posts: 63,441Questions: 1Answers: 10,465 Site admin

    Thank you for the clarification - I hadn't gotten that point before.

    At the moment no, you would need to have a custom button which makes an Ajax call to get the data you want and then create a spreadsheet.

    Is it just an extra piece of information for each row in the table? Can you not just have that in the original table, but hidden?

    Allan

Sign In or Register to comment.