bootstrap-table
bootstrap-table copied to clipboard
export table extension does not work with pipeline extension
Bootstraptable version(s) affected
1.19.1
Description
The Export Table extension button does not work with the Pipeline extension for very large tables. When I use the Pipeline extension to speed up large table results, the export button now returns an empty file. Is there a way to export table data and use the pipeline table caching?
Example table
// init the Bootstrap table
this.table.bootstrapTable({
classes: 'table table-bordered table-condensed table-hover',
toggle : 'table',
pagination : true,
pageSize: 10,
pageList : '[10, 20, 50]',
sidePagination: 'server',
method: 'post',
contentType: "application/x-www-form-urlencoded",
data: data.rows.slice(0, 10),
totalRows: data.total,
columns: cols,
deferUrl: url,
showColumns : true,
showToggle : true,
showExport : true,
exportTypes: ['json', 'csv'],
exportDataType: 'all',
exportOptions: {
jsonScope: 'data',
exportHiddenCells: true,
},
usePipeline: true
})
Example(s)
Here is a working example: https://live.bootstrap-table.com/code/havok2063/9843
Possible Solutions
No response
Additional Context
No response
Following...