Hi all,
I want to load a certain component based on a certain element being selected in a treegrid.
However, when I load the component the style of my treegrid changes.
To illustrate:
TreeGrid before click:
TreeGrid after click:
CSS:
CSS Before Click:
CSS After Click:
I use the following code to load the components:
<projectDetailsComponent *ngIf=”loadComponentBoolean” (onReloadTree)=”onReloadTree()” [projectID]=”selectedID”></projectDetailsComponent>
Does anyone know how I prevent the CSS from changing?
Thanks in advance!