1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    17
    Answers
    2
    Vote Rating
    1
    getbogged is on a distinguished road

      0  

    Default Unanswered: Grid RowEdit error

    Unanswered: Grid RowEdit error


    This error will pop up and not allow the user to edit any more cells in the grid one it starts. It seems to happen when the user clicks too fast or too many times inside a cell. Its very weird. The only way to get rid of it is to refresh the page. I am using extjs 4. Anyone have a solution for this?

    extjs error.jpg

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,627
    Answers
    613
    Vote Rating
    399
    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 was not able to duplicate this problem, can you duplicate your problem in a test case?

    Code:
    Ext.onReady(function(){
        var store = 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 editor = {
            xtype: 'textfield',
            allowBlank: false
        };
    
        var rowEditing = Ext.create('Ext.grid.plugin.RowEditing', {
            clicksToMoveEditor: 1,
            autoCancel: false
        });
    
        Ext.create('Ext.grid.Panel', {
            title: 'Simpsons',
            store: store,
            columns: [
                { header: 'Name',  dataIndex: 'name', editor: editor  },
                { header: 'Email', dataIndex: 'email', flex: 1, editor: editor },
                { header: 'Change', dataIndex: 'change', editor: editor }
            ],
            height: 200,
            width: 400,
            renderTo: Ext.getBody(),
    
            plugins: [rowEditing]
        }); 
    
    });​
    Scott.

Thread Participants: 1

Tags for this Thread

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