-
26 Nov 2009 2:40 AM #1
Window contents appear only on first time
Window contents appear only on first time
First time the window is loadedCode:function loadPeriods(node) { if (!Ext.getCmp(node.text)) { var periodWin = new Ext.Window({ title : '<p align="center">'+node.text+'</p>', closable : true, id : node.text, draggable : false, modal : true, layout :'fit', width : 400, height : 350, plain : true, closeaction : 'hide', items : [{ xtype : 'panel', autoHeight: true, items : [periodGrid, periodForm] }] }); periodDS.load(); periodWin.show(); } }

The second time the window is loaded

-
26 Nov 2009 2:44 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 41
closeaction -> closeAction


Reply With Quote