AllenFang / AllenFang/react-bootstrap-table

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

未关闭
#983 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
enhancement in progress
主要语言
JavaScript
星标
2.2k
派生
761
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。