Skip to content

Commit 9156dc0

Browse files
authored
fix for exportAllData (#899)
1 parent e664dda commit 9156dc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material-table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ export default class MaterialTable extends React.Component {
11221122
};
11231123

11241124
getRenderData = () =>
1125-
this.props.options.exportAllData ? this.state.data : this.state.renderData;
1125+
this.props.options.exportAllData ? this.dataManager.data : this.state.renderData;
11261126

11271127
render() {
11281128
const props = this.getProps();

0 commit comments

Comments
 (0)