PDA

View Full Version : ext-angular-boilerplate navmenu component as sub element of a panel



vectoris
6 Mar 2019, 9:14 PM
Hello!
It seems that the navmenu-component in the boilerplate example isn't used at all, because the app-component has its own treelist for navigation.
I tried to replace the treelist with the navmenu-component, but it doesn't work.
Why is it possible to do this:


<container [fullscreen]="true" layout="fit">
<panel docked="left" shadow="true">
<treelist ...>
</treelist>
</panel>
</container>
but not this:



<container [fullscreen]="true" layout="fit">

<titlebar [title]="title" docked="top">
<button align="left" *ngIf="isPhone" iconCls="x-fa fa-bars" [handler]="this.toggleAppMenu" ripple="false"></button>
</titlebar>

<panel docked="left" shadow="true">
<my-component>
</my-component>
</panel>

<container>
<router-outlet #extroute></router-outlet>
</container>

</container>

What do i have to to with my-component that this works?

Thx in advance!

Forum_Adm
9 Mar 2019, 7:50 AM
Thank you so much for your post. I have shared this with the support staff to look into at their earliest convenience. Your patience is greatly appreciated! We do suggest using the support portal when you need assistance with a capability of a Sencha product, you have identified a situation where a products behavior is inconsistent with the product documentation and might indicate a software bug, or when the communication between you and Sencha needs to be private.

Thanks again,

Michele

mgusmano
16 Apr 2019, 2:35 AM
in this example, what is in <my-component>?