When I'm using Angular Grid I'm getting an error in console each time the grid loads as "Cannot read property 'removeClass' of null" .This was getting in the console when I use persist state for grid.
I'm using set options method to set local storage data to grid.
var options = localStorage"departmetsOptions"];
var response = JSON.parse(options);
Here the "setOptions
" method is internally calling read method and it is throwing the above exception. Is there any other method to persist the state of grid so that we can avoid this console error.
Please assist to fix the issue.