AllenFang / AllenFang/react-bootstrap-table

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

Ouverte
#983 2 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
enhancement in progress
Langage dominant
JavaScript
Étoiles
2.2k
Forks
761
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.