Maintain html in print

Maintain html in print

snakom23snakom23 Posts: 4Questions: 1Answers: 0

In serverside get custom data with HTML table, but when print not have any table. Help

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    Hi @snakom23 ,

    See this link here about buttons and serverSide,

    Cheers,

    Colin

  • snakom23snakom23 Posts: 4Questions: 1Answers: 0

    Use a server-side process to create the files to download (recommended) or 2. Disable server-side processing.

    i want create files? how do? cannot disable server-side processing

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    Something on the server will need to get your data and generate the exported file which you could then return with an Ajax call. Unfortunately, that's outside the scope of DataTables.

  • snakom23snakom23 Posts: 4Questions: 1Answers: 0

    but if i render my table in datatables columns render in js? can do?

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    Not with serverSide as the client doesn't have access to all the data - this is why it needs to be on the server.

    C

  • snakom23snakom23 Posts: 4Questions: 1Answers: 0

    can give me solution with serverside: true for stamp table html in print?

This discussion has been closed.