This duplicates another bug already reported in our system:
DSGNR-1453
-
Sencha Premium Member
"ContentEl" hides design
Hello
I created a viewport including a border layout. Each region was filled with a empty panel. If I add the "contentEl" in one of these panels, the design will be shown empty.
Is there any workaround?
Thanks a lot,
Joachim Schneider
-
We've added this as a bug. I assume whats happening is the library is trying to pull from the specific contentEl which you've specified, it can't find it and it's crashing. We will fix this.
In the mean time, you would probably be better off using a tpl coupled with data and/or html configurations.
-
Sencha Premium Member
Dear aconran
Thanks a lot for your reply. In the meantime, solved it with a custom "render" event inside a controller:
Example:
Code:
onRender:function(abstractcomponent, options){
this.getHeaderPanel().contentEl = 'elementId'
}
Best regards,
Joachim Schneider