Skip to content

Commit aa4dfc3

Browse files
committed
fix #564
1 parent c58e244 commit aa4dfc3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/BootstrapTable.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,10 @@ class BootstrapTable extends Component {
662662

663663
const keys = [];
664664
this.props.children.map(function(column) {
665-
if (column.props.hidden === false || column.props.export === true) {
665+
console.log(column.props.export);
666+
if (column.props.export === true ||
667+
(typeof column.props.export === 'undefined' &&
668+
column.props.hidden === false)) {
666669
keys.push({
667670
field: column.props.dataField,
668671
format: column.props.csvFormat,

0 commit comments

Comments
 (0)