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
call csv export as a function #1104
Comments
check http://allenfang.github.io/react-bootstrap-table/docs.html#handleExportCSV, use react ref to call a exposed api let me know if you have any question |
@AllenFang actually I'm still struggling with the auto-CSV export without showing the table. This works:
but for specific reasons I would like to hide the table for the user |
you should render table then call the function, because |
Is it possible to call the table export button as a function?
What I actually want is to generate the table and csv export from another page, without showing the table itself, and I think this would be an elegant solution.
MWE
This is my bootstrap data table with export button:
I would like to call a function, for example
this.datatable.exportcsv()
The text was updated successfully, but these errors were encountered: