AllenFang / AllenFang/react-bootstrap-table

Is there a way to get data from server while exporting to CSV?

Open
#983 2 comments 1 reaction 0 assignees View on GitHub
enhancement in progress
Dominant language
JavaScript
Stars
2.2k
Forks
761
PR merge metrics
No merged PRs in 30d

Description

Hey,

I was going through http://allenfang.github.io/react-bootstrap-table/example.html#remote "Remote Exporting CSV" example and was wondering if there is a way to get data from the server in "onExportToCSV" method?
The example shows a synchronous function which expects all the data to be present in the state before callling onExportToCSV. What if I don't want to load all the data ahead of time but want to get the data only when 'export to CSV' is clicked?

Any help is appreciated.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.