I have created a wholesale order form with multiple stacked tables (one table for each product). I would like to allow users to export a single CSV file that represents the entire order. So I need the ability to export multiple tables to one CSV document like so:
<ToolkitProvider
keyField="id"
data={ products }
columns={ columns }
exportCSV
>
{
props => (
<div>
<ExportCSVButton { ...props.csvProps }>Export CSV!!</ExportCSVButton>
<BootstrapTable { ...props.baseProps } />
<BootstrapTable { ...props.baseProps } />
<BootstrapTable { ...props.baseProps } />
<BootstrapTable { ...props.baseProps } />
</div>
)
}
</ToolkitProvider>
*Obviously each table needs its own unique keyField, data and columns.
I have created a wholesale order form with multiple stacked tables (one table for each product). I would like to allow users to export a single CSV file that represents the entire order. So I need the ability to export multiple tables to one CSV document like so:
*Obviously each table needs its own unique keyField, data and columns.