I want to update 'hideSubHeader' value after button click. The value in settings for 'hideSubHeader' gets updated but it does not reflect on my smart table.
My Settings,
settings = {
hideSubHeader: true
}
After button click,
newSettings() {
const customSettings = settings;
customSettings.hideSubHeader = false;
this.settings = Object.assign({}, customSettings);
}