how to export or print current page / all in datatable
how to export or print current page / all in datatable

hi
i want to export the data current page or all based on selection.
This discussion has been closed.
hi
i want to export the data current page or all based on selection.
Replies
hello give me solution please
You can export the current selection using
{ selected: true }
in themodifier
option forbuttons.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
k thank you.