-
5 Nov 2012 8:21 PM #1
Unanswered: hello^^
Unanswered: hello^^
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.

-
6 Nov 2012 2:04 AM #2Ext JS Premium Member
- Join Date
- Apr 2008
- Location
- Groningen - Netherlands
- Posts
- 1,022
- Vote Rating
- 23
- Answers
- 75
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.
-
7 Nov 2012 6:46 PM #3
thanx,
thanx,
i solve my problem^^
i set hidden true,
and then visible true or false.
thanx~^^
-
7 Nov 2012 7:42 PM #4Sencha Premium Member
- Join Date
- Apr 2012
- Location
- Mumbai, India
- Posts
- 191
- Vote Rating
- -1
- Answers
- 10
Could you please post your code snippet ? That will help us better.
--
Bomslang,
Software Engineer,
HTML5 Developer | ExtJS, Sencha Touch, GXT Passionate | Json Supporter
Twitter : @bomslang
----------------------------------------------------------------------------------
# Learn about Sencha Products via it's Documentation : ExtJS | Sencha Touch | GXT
# Check for correct Json here : JSONLint.com
# Want to code Sencha Touch Online ? Try SenchaFiddle.com
# Want to code and test ExtJS Online ? Try http://ext4all.com/ & http://jsfiddle.net/
# Must Read : 20 things to avoid / do when starting with ExtJS or Sencha Touch
-
9 Nov 2012 1:32 AM #5
i set my panel hiden true
and then set visible true or falseHTML Code: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' }] })
HTML Code:panel.items.getAt(1).setVisible(true);






Reply With Quote