Skip to content

Commit

Permalink
fix #564
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Jul 16, 2016
1 parent c58e244 commit aa4dfc3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/BootstrapTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,10 @@ class BootstrapTable extends Component {

const keys = [];
this.props.children.map(function(column) {
if (column.props.hidden === false || column.props.export === true) {
console.log(column.props.export);
if (column.props.export === true ||
(typeof column.props.export === 'undefined' &&
column.props.hidden === false)) {
keys.push({
field: column.props.dataField,
format: column.props.csvFormat,
Expand Down

0 comments on commit aa4dfc3

Please sign in to comment.