1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    18
    Vote Rating
    0
    eevee is on a distinguished road

      0  

    Default Problem with cell editor in custom menu

    Problem with cell editor in custom menu


    Hi!
    I'm having some problems with 4.1.
    I have a custom menu contining a grid with cell editor plugin.
    When I click on the editor, menu lost focus and is closed...
    the result is the editor, alone, on the page....

    Please help me...

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,918
    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 will need to provide code to get help. Since this is custom component, it may take some time for someone to have a look at this.

    Have you traced through the code with FireBug/Developer Tools to see what is going on in the call stack?

    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    18
    Vote Rating
    0
    eevee is on a distinguished road

      0  

    Default code

    code


    Thanks for quick reply, here is my code:
    grid:
    Code:
    [...]
    {
            text: "${_('Labels')}",
            menu: {
                xtype: 'menu',
                plain: true,
                forceLayout: true,
                width: 255,
                layout: 'vbox',
                items: [{
                    xtype: 'labelmanager'
                }]
            }
        }
    [...]
    Menu:
    Code:
    Ext.define('LabelManager',{
        extend: 'Ext.container.Container',
        alias: 'widget.labelmanager',
        initComponent: function(){
            this.callParent();
            [...]
            var labelTable = new LabelTable();
            this.add(labelTable);
    });
    LabelTable:
    Code:
    Ext.define('LabelTable', {
        extend: 'Ext.grid.Panel',
        store: new LabelsStore(),
        plugins: [
             Ext.create('Ext.grid.plugin.CellEditing', {
                 clicksToEdit: 1
             })
        ],
        columns: [{
            width: 130,
            dataIndex: 'title',
            editor: {
                allowBlank: false,
                xtype: 'textfield'
            }
        }
    });

Thread Participants: 1

Tags for this Thread

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