how to export or print current page / all in datatable

how to export or print current page / all in datatable

SriRishithaSriRishitha Posts: 42Questions: 4Answers: 0

hi
i want to export the data current page or all based on selection.

Replies

  • SriRishithaSriRishitha Posts: 42Questions: 4Answers: 0

    hello give me solution please

  • allanallan Posts: 63,464Questions: 1Answers: 10,466 Site admin

    You can export the current selection using { selected: true } in the modifier option for buttons.exportData(). However, there isn't currently an option to toggle that dynamically based on if there are rows selected or not. That is something I plan to add in future.

    Allan

  • SriRishithaSriRishitha Posts: 42Questions: 4Answers: 0

    k thank you.

This discussion has been closed.