Hello,
I need to have dynamic content within ejAccordion, but looks like it doesn't like *ngIf. Any solutions?
<ej-accordion> <h3 > <a rel='nofollow' href="#">{{contextMenuTitle1}}</a> </h3> <div> <ej-treeview cssClass="customize" (nodeSelect)="onNodeSelected($event)" width="100%" [fields]="mainMenuViewFields" expandOn='click'></ej-treeview> </div> <h3 *ngIf="HasSecondContextMenu"> <a rel='nofollow' href="#">{{contextMenuTitle2}}</a> </h3> <div *ngIf="HasSecondContextMenu"> <ej-treeview cssClass="customize" (nodeSelect)="onNodeSelected($event)" width="100%" [fields]="mainMenuViewFields2" expandOn='click'></ej-treeview> </div> </ej-accordion>
|