【发布时间】:2020-12-17 17:04:03
【问题描述】:
我想在单击按钮后更新“hideSubHeader”值。 'hideSubHeader' 设置中的值已更新,但未反映在我的智能表上。
我的设置,
settings = {
hideSubHeader: true
}
点击按钮后,
newSettings() {
const customSettings = settings;
customSettings.hideSubHeader = false;
this.settings = Object.assign({}, customSettings);
}
【问题讨论】:
标签: angular ng2-smart-table ngx-admin