合计行功能默认共用同一个横向滚动条

This commit is contained in:
huyueb 2017-12-26 13:30:01 +08:00
parent e79234f189
commit 908e8489ca
1 changed files with 2 additions and 1 deletions

View File

@ -51,12 +51,13 @@ export default function sum(Table) {
}
return item;
});
return <Table{...this.props} showHeader={false} columns={columns_sum} data={obj} />;
return <Table{...this.props} footerScroll showHeader={false} columns={columns_sum} data={obj} />;
};
render() {
return (
<Table
{...this.props}
footerScroll
columns={this.props.columns}
data={this.props.data}
footer={this.currentFooter}