Replies: 1 comment 1 reply
-
Hi Mario, In the exportToXLS method, you can use: this.$refs.dt.filteredValue will give you access to the data that has been filtered by users in your DataTable. You can use a library like xlsx to convert this data to an XLS file and provide a download option for users. then use this.$refs.dt.filteredValue insted of this.$refs.dt.value I hope it helps you, if so, mark the question as answered to help me. Regards! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks,
I need to export to XLS the content of a DataTable after the users has apply some filters. Unfortunatly I haven't found a way to access the filtered data. This this.$refs.dt.value has the all the unlfiltered data, but is there a way to access the filtered data(to the user)?
Regards
Mario
Beta Was this translation helpful? Give feedback.
All reactions