1. #1
    Sencha User
    Join Date
    Jul 2007
    Posts
    30
    Vote Rating
    0
    disller is on a distinguished road

      0  

    Default Unanswered: Editor cannot disappear after closing Window

    Unanswered: Editor cannot disappear after closing Window


    Hi There,
    I got a problem on Ext 4.1.0 and Ext 4.1.1

    Double click first cell to edit it and then click window close button, the editor still floats on the page.But it is ok for last cell.

    Anyone met this problem before? Thanks

    Code:
    Ext.onReady(function(){
    	
    	
    	Ext.create('Ext.data.Store', {
    	    storeId:'simpsonsStore',
    	    fields:['name', 'email', 'phone'],
    	    data:{'items':[
    	        { 'name': 'Lisa',  "email":"lisa@simpsons.com",  "phone":"1224"  },
    	        { 'name': 'Bart',  "email":"bart@simpsons.com",  "phone":"1234" },
    	        { 'name': 'Homer', "email":"home@simpsons.com",  "phone":"1244"  },
    	        { 'name': 'Marge', "email":"marge@simpsons.com", "phone":"1254"  }
    	    ]},
    	    proxy: {
    	        type: 'memory',
    	        reader: {
    	            type: 'json',
    	            root: 'items'
    	        }
    	    }
    	});
    
    	var table = Ext.create('Ext.grid.Panel', {
    	    title: 'Simpsons',
    	    store: Ext.data.StoreManager.lookup('simpsonsStore'),
    	    columns: [
    	        { text: 'Name',  dataIndex: 'name',editor:{xtype:'textfield',toFrontOnShow:false} },
    	        { text: 'Email', dataIndex: 'email', flex: 1 },
    	        { text: 'Phone', dataIndex: 'phone',editor:{xtype:'numberfield',hideTrigger: true,validateOnChange : false} }
    	    ],
    	    height: 200,
    	    width: 400,
    		plugins:[ Ext.create('Ext.grid.plugin.CellEditing', {
            clicksToEdit: 2,
          })]
    	});
    
    
    var window = new Ext.Window({
                              id: 'abc',
                              title :'abc',
                              modal : true,
                layout: 'border',
                              resizable : true,
                              draggable : true,
                              closable : true,
                              closeAction : 'hide',
                              width :410,
                              height :210,
                              items : [ table]
                      });
    
    window.show();
    	
    });

  2. #2
    Sencha User
    Join Date
    Jul 2007
    Posts
    30
    Vote Rating
    0
    disller is on a distinguished road

      0  

    Default


    Is it a bug or my code issue?
    Anyone can give me a workaround to fix it?

    Thanks

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."