PDA

View Full Version : Portal demo



tina@user
5 Aug 2015, 8:36 PM
hi,
I am using Portal Demo and this is my code...



Ext.define('App.view.SuperAdminCloudRequestsWall', {
extend : 'Ext.panel.Panel',
alias : 'widget.SuperAdminCloudRequestsWall',
layout : {
type : 'border',
align : 'stretch',
pack : 'start',
},
items: [{
xtype: 'container',
region: 'center',
layout: 'border',
items: [{
id: 'app-options',
region: 'west',
width: 300,
minWidth: 150,
animCollapse: true,
split: true,
collapsible: true,
layout:{
type: 'border',
animate: true
},
items: [{
autoScroll: true,
border: false,
iconCls: 'nav',
xtype:'SuperAdminCloudRequestsTree'
}]
},{
id: 'app-portal',
xtype: 'panel',
region: 'center',
items: [{
id: 'col-3',
items: [{
id: 'portlet-4',
title: '',
items:[{
xtype:'SuperAdminCloudRequestsUpperGrid'
}],
}]
}]
}]
}],
});


everytime i get this error..

Uncaught HierarchyRequestError: Failed to execute 'insertBefore' on 'Node': The new child element contains the parent.

i cant seem to resolve it...

please help!

Gary Schlosberg
21 Aug 2015, 4:07 PM
Are you able to recreate this error in a test case?
https://fiddle.sencha.com/#home