合计行功能默认共用同一个横向滚动条
This commit is contained in:
parent
e79234f189
commit
908e8489ca
|
@ -51,12 +51,13 @@ export default function sum(Table) {
|
||||||
}
|
}
|
||||||
return item;
|
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() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<Table
|
<Table
|
||||||
{...this.props}
|
{...this.props}
|
||||||
|
footerScroll
|
||||||
columns={this.props.columns}
|
columns={this.props.columns}
|
||||||
data={this.props.data}
|
data={this.props.data}
|
||||||
footer={this.currentFooter}
|
footer={this.currentFooter}
|
||||||
|
|
Loading…
Reference in New Issue