Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    7
    Vote Rating
    0
    Arho is on a distinguished road

      0  

    Default itemexpand and itemcollapse events not firing in tree panel with a locked tree column

    itemexpand and itemcollapse events not firing in tree panel with a locked tree column


    REQUIRED INFORMATION


    Ext version tested:
    • Ext 4.1.3
    Browser versions tested against:
    • Chrome 24 (Windows)
    Description:
    • When using a locked tree column in a tree panel itemexpand and itemcollapse events are not firing
    Steps to reproduce the problem:
    • Setup a tree panel with a locked tree column
    • Setup listeners for itemexpand and itemcollapse
    The result that was expected:
    • itemexpand and itemcollapse events fire when expanding/collapsing tree nodes
    The result that occurs instead:
    • itemexpand and itemcollapse events do not fire when expanding/collapsing tree nodes
    Test Case:

    Code:
    Ext.tree.Panel.borrow(Ext.grid.Panel, ['bothCfgCopy', 'normalCfgCopy', 'lockedCfgCopy' ]);
    
    
    Ext.onReady(function() {
        var store = Ext.create('Ext.data.TreeStore', {
            fields: [
                {name: 'task', type: 'string'},
                {name: 'user', type: 'string'}
            ],
            root : {
                "text":".",
                "children": [{
                    task:'Project: A',
                    user:'Mike',
                    children:[{
                        task:'Task 1',
                        user:'Mike',
                        leaf:true
                    }]
                }]
            }
        });
    
    
        var tree = Ext.create('Ext.tree.Panel', {
            title: 'Core Team Projects',
            width: 500,
            height: 300,
            renderTo: Ext.getBody(),
            rootVisible: false,
            store: store,
            columns: [{
                xtype: 'treecolumn',
                text: 'Task',
                dataIndex: 'task',
                locked: true
            },
            {
                text: 'Assigned To',
                dataIndex: 'user',
            }],
            listeners: {
                itemexpand: function() { console.log('itemexpand'); },
                itemcollapse: function() { console.log('itemcollapse'); },
            }
        });
    });


    HELPFUL INFORMATION


    Debugging already done:
    • none
    Possible fix:
    • a workaround for this is to set listeners for lockedGrid instead
    • tree.lockedGrid.on('itemexpand', function() { console.log('itemexpand'); } )
    Additional CSS used:
    • only default ext-all.css
    Operating System:
    • Windows 7 Pro

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,795
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    In 4.2.0 tree not supports locking columns whereas before we never supported it. Have you tried in 4.2.0 beta2
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jan 2013
    Posts
    7
    Vote Rating
    0
    Arho is on a distinguished road

      0  

    Default


    reproducible in 4.2.0 beta 20130124

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