-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export Csv on my local instance i am facing issue. #1556
Comments
What is your exact test case? I didn't replicate the issue with this codesandbox https://codesandbox.io/s/g3xzj?file=/src/DataTableExportDemo.vue |
|
When I declare this 'const dt = ref();' outside of the downloadSample method, it worked for me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Previously this issue is been resolved in v3.2.2 but i am using 3.7.2 right now but still facing the same issue.
previous link
#941
Here is the error i am facing
Uncaught TypeError: Cannot read properties of undefined (reading 'exportCSV')
at onClick._cache.._cache. (main.js:27208)
at callWithErrorHandling (main.js:14098)
at callWithAsyncErrorHandling (main.js:14107)
at HTMLButtonElement.invoker (main.js:15542)
Html
Js/Ts
exportCSV() {
const dt = ref();
dt.value.exportCSV();
}
The text was updated successfully, but these errors were encountered: