bootstrap-table icon indicating copy to clipboard operation
bootstrap-table copied to clipboard

Export with `forceExport: true` Ignores Current Filter and Uses `filterDefault` When Empty Filter is Selected

Open balansse opened this issue 9 months ago • 0 comments

Bootstraptable version(s) affected

1.24.1

Description

When using the bootstrap-table plugin with the Filter Control extension and the Export extension, exporting data from a table with a hidden column marked as forceExport: true does not respect the current filter state if the filterDefault property is set and the user selects an empty filter. Instead, the exported data is always filtered by the filterDefault value, making it impossible to export unfiltered records as intended.

Example(s)

https://live.bootstrap-table.com/code/balansse/18723

Select the blank filter value and try to export.

Possible Solutions

No response

Additional Context

No response

balansse avatar Mar 10 '25 19:03 balansse