While navigating from grid component to another grid component ,since angular doesn't recreate the whole component as it is the same path, I expected the table generated not to store previous grid setting.
For example:- if I resize the column on the current grid and I navigate to the next grid, the component is still storing the old resize value.
Solutions I tried:
1. Used columnResize event to know the old width and, I tried to reset the width by setting the style attribute with oldWidth.
2. Tried to recreate the grid table by using Structural directives like *ngIf as well but the table was not being recreated.
Please advise on how to proceed.