PDA

View Full Version : hello^^



kjcr
5 Nov 2012, 8:21 PM
i have problem.

i use extjs.
i add panel to panel
with panel.insert(1,'id');

But i have to remove that panel after that
i insert again that panel to parent panel

then
'
Uncaught TypeError: Cannot read property 'floating' of undefined '
error occur.

help me please.
:s

tvanzoelen
6 Nov 2012, 2:04 AM
It depends how you removed the panel. If you had initialized it and removed it can be detroyed. You need to give some more information or a piece of code.

kjcr
7 Nov 2012, 6:46 PM
i solve my problem^^

i set hidden true,
and then visible true or false.

thanx~^^

bomslang
7 Nov 2012, 7:42 PM
Could you please post your code snippet ? That will help us better.

kjcr
9 Nov 2012, 1:32 AM
i set my panel hiden true



var val_Link_Result_Grid = Ext.create('Ext.grid.Panel',{
store:link_Result_main,
split:true,
cls: 'val_link_result',
hidden:true,
region:'south',
collapsed: false,
id:'link_val',
columns:[{
header:'Link Validation',
flex:2,
dataIndex:'title',
align:'center'
}]
})

and then set visible true or false



panel.items.getAt(1).setVisible(true);


:):D:D:)