1. #1
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    15
    Vote Rating
    2
    Fonnit is on a distinguished road

      0  

    Default cell's focus in a grid

    cell's focus in a grid


    Hi all,

    I have a grid in cellEdit mode.

    I want to know why the different results are shown
    after I edit the cell....

    result 1:
    IF I click the Enter key after inputting nothing in the cell that is in edit mode then
    I can move the cell's focus using arrow key.

    result 2:
    IF I click the Enter key after inputting something in the cell that is in edit mode then
    I can not move the focus using arrow key.

    why?

    Does any suggestion for me?
    I want to move the focus using arrow key in result 2 too...

    thanks

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,916
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    I do not see this problem: (Ext 4.1.1)

    What version are you using?

    Code:
    Ext.create('Ext.data.Store', {
        storeId : 'simpsonsStore',
        fields  : ['name', 'email', 'change'],
        data    : {'items' : [
            { 'name' : 'Lisa',  'email' : 'lisa@simpsons.com',  'change' : 100  },
            { 'name' : 'Bart',  'email' : 'bart@simpsons.com',  'change' : -20  },
            { 'name' : 'Homer', 'email' : 'home@simpsons.com',  'change' : 23   },
            { 'name' : 'Marge', 'email' : 'marge@simpsons.com', 'change' : -11  }
        ]},
        proxy   : {
            type   : 'memory',
            reader : {
                type : 'json',
                root : 'items'
            }
        }
    });
    
    var cellEditing = Ext.create('Ext.grid.plugin.CellEditing', {
        clicksToEdit: 1
    });
    
    Ext.create('Ext.grid.Panel', {
        title      : 'Simpsons',
        store      : Ext.data.StoreManager.lookup('simpsonsStore'),
        selModel: {
            selType: 'cellmodel'
        },
        columns    : [
            { header : 'Name', dataIndex : 'name' , editor: { xtype: 'textfield' }},
            { header : 'Email', dataIndex : 'email', flex : 1, editor: { xtype: 'textfield' } },
            { header : 'Change', dataIndex : 'change', editor: { xtype: 'numberfield' } }
        ],
        height     : 200,
        width      : 400,
        renderTo   : Ext.getBody(),
        plugins: [ cellEditing ]
    });​
    Scott.

  3. #3
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    15
    Vote Rating
    2
    Fonnit is on a distinguished road

      0  

    Default


    thanks for your example.

    i am using Extjs V4.1.0

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,916
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    You should be able to upgrade to fix this.

    Regards,
    Scott.

Thread Participants: 1

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..." hd porno faketaxi