Closed Titans1001 closed 4 years ago
(必填)请填写问题描述或截图: 表格reloadData之后footer不实时更新和渲染,下一次操作前才渲染
同时,footerMethod回调参数需要新增第二个联系上下文参数 footerMethod({ columns: visibleColumn, data: this.afterFullData }, { $grid: this.$xegrid, $table: this })
updateFooter: function updateFooter() { var showFooter = this.showFooter var visibleColumn = this.visibleColumn var footerMethod = this.footerMethod
if (showFooter && footerMethod) { this.footerData = visibleColumn.length ? footerMethod({ columns: visibleColumn, data: this.afterFullData }, { $grid: this.$xegrid, $table: this }) : [] } return this.$nextTick()
},
机器人助手:
(必填)请填写问题描述或截图: 表格reloadData之后footer不实时更新和渲染,下一次操作前才渲染
同时,footerMethod回调参数需要新增第二个联系上下文参数 footerMethod({ columns: visibleColumn, data: this.afterFullData }, { $grid: this.$xegrid, $table: this })
updateFooter: function updateFooter() { var showFooter = this.showFooter var visibleColumn = this.visibleColumn var footerMethod = this.footerMethod
},