Download csv,excel,pdf

Download csv,excel,pdf

RekaReka Posts: 21Questions: 6Answers: 0

Hi,

I am using server-side processing (http://https://datatables.net/examples/data_sources/server_side.html).
I want to all data download csv,excel,pdf file . If i try to click csv or excel or pdf, first 10 record only downloaded.

Replies

  • allanallan Posts: 63,208Questions: 1Answers: 10,415 Site admin
  • RekaReka Posts: 21Questions: 6Answers: 0

    I do know how to download all data using button with serverside

  • allanallan Posts: 63,208Questions: 1Answers: 10,415 Site admin

    Please read the FAQ that I linked to again.

    A. Buttons is a client-side process, so it can only export the data available at the client-side. When server-side processing is enabled, the full data set is not held on the client-side, so only the visible data can be exported. You can either: 1. Use a server-side process to create the files to download (recommended) or 2. Disable server-side processing.

    Allan

  • RekaReka Posts: 21Questions: 6Answers: 0

    I have to download all data via server-side processing and importantly i cant got with other option to disable server side processing.

    Please help to resolve it with service-side itself.

  • allanallan Posts: 63,208Questions: 1Answers: 10,415 Site admin

    I'm not sure what I can add to the FAQ answer. If you can't disable server-side processing then you have to create the export file on the server and download it to the client.

    With server-side processing it fundamentally doesn't have all of the data at the client-side. That's the whole point of server-side processing. So if you want the full data set in the exported files, you have to create them on the server.

This discussion has been closed.