You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
In the following snippet of code, extracted from dist/ag-grid.js lines 3239 to 3254, the variable oldColumn is sometimes undefined, and oldColumn.setVisible(…) raises an exception:
ColumnController.prototype.setColumnState=function(columnState){varoldColumnList=this.allColumns;
...
if(columnState){columnState.forEach(function(stateItem){varoldColumn=utils_1.Utils.find(oldColumnList,'colId',stateItem.colId);if(!oldColumn){console.warn('ag-grid: column '+stateItem.colId+' not found');success=false;}oldColumn.setVisible(!stateItem.hide);// EXCEPTION HERE!
...
It looks like it is not the desired behavior, since it might simply cut off the grid generation (and pollutes the console with big flashy red exceptions just after the more tactful console.warn).
Is it the expected behavior?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hi!
In the following snippet of code, extracted from
dist/ag-grid.js
lines 3239 to 3254, the variableoldColumn
is sometimes undefined, andoldColumn.setVisible(…)
raises an exception:It looks like it is not the desired behavior, since it might simply cut off the grid generation (and pollutes the console with big flashy red exceptions just after the more tactful
console.warn
).Is it the expected behavior?
Thanks in advance
The text was updated successfully, but these errors were encountered: