Export excel report with changes after it got initialized

Export excel report with changes after it got initialized

ManiPSManiPS Posts: 28Questions: 12Answers: 0

I have initialized the table with data. The export excel is working fine. If i make any changes to the table column manually through jquery. The changes are not exporting in excel. It exports the old unmodified data.
How to export excel report with changes after it got initialized.

Pls help me out. Thanks in advance

Answers

  • colincolin Posts: 15,144Questions: 1Answers: 2,586

    Hi @ManiPS ,

    This entirely depends on how you make those changes with jQuery. If you're doing it behind the scenes, then DataTables will have no knowledge of those changes. If you want to adjust the table, post initialisation, use the DataTables API.

    If that doesn't help you solve the issue, we're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.