Skip to content
Snippets Groups Projects
Commit ad48b3c8 authored by juanf's avatar juanf
Browse files

SSDM-4721 : Fix for table settings to not loose not found columns.

SVN: 37647
parent a8fc1c7d
No related branches found
No related tags found
No related merge requests found
......@@ -429,7 +429,13 @@ $.extend(Grid.prototype, {
});
if(this.onChangeState) {
this.tableSettings.columns = columnsModel;
if(this.tableSettings.columns) {
for(key in columnsModel) {
this.tableSettings.columns[key] = columnsModel[key];
}
} else {
this.tableSettings.columns = columnsModel;
}
this.onChangeState(this.tableSettings);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment