1. #1
    Sencha User
    Join Date
    Jun 2007
    Posts
    35
    Vote Rating
    0
    nicosk is on a distinguished road

      0  

    Default Window contents appear only on first time

    Window contents appear only on first time


    Code:
    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();
    	}
    }
    First time the window is loaded


    The second time the window is loaded

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    closeaction -> closeAction

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar