Results 1 to 2 of 2

Thread: Bug. TreePanel with Store from ViewModel and Locked Column and rootVisible false

    You found a bug! We've classified it as EXTJS-22750 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1

    Default Bug. TreePanel with Store from ViewModel and Locked Column and rootVisible false

    Bug.
    When I create TreePanel
    1. Store from ViewModel
    2. Locked Column
    3. RootVisible: false



    Root is still visible! If I remove locked or set store as instance value (not binding) - all ok.

    Code:
    Ext.application({
        name: 'Fiddle',
    
    
        launch: function () {
    
    
            Ext.create('Ext.tree.Panel', {
                title: 'Simple Tree',
                width: 300,
                height: 250,
                viewModel: {
                    stores: {
                        storeTest: {
                            type: 'tree',
                            root: {
                                expanded: true,
                                children: [{
                                    text: "detention",
                                    leaf: true
                                }, {
                                    text: "homework",
                                    expanded: true,
                                    children: [{
                                        text: "book report",
                                        leaf: true
                                    }, {
                                        text: "algebra",
                                        leaf: true
                                    }]
                                }, {
                                    text: "buy lottery tickets",
                                    leaf: true
                                }]
                            }
                        },
                    },
                },
                bind: {
                    store: '{storeTest}'
                },
                rootVisible: false,
                renderTo: Ext.getBody(),
                columns: [{
                    xtype: 'treecolumn',
                    text: 'Tree Column',
                    dataIndex: 'text',
                    locked: true
                }]
            });
        }
    });
    https://fiddle.sencha.com/#view/editor&fiddle/2c8h

  2. #2
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    962

    Default

    Hi--

    Looks like this has been previously reported in our tracking system. Linking bug (EXTJS-22750) to this thread.

    Regards,
    Bryan

Similar Threads

  1. Replies: 6
    Last Post: 23 Nov 2015, 3:09 AM
  2. [CLOSED] TreePanel rootVisible: false does strange things
    By bone in forum Ext 5: Bugs
    Replies: 1
    Last Post: 29 Apr 2014, 3:50 AM
  3. Replies: 4
    Last Post: 12 Mar 2013, 4:28 PM
  4. Replies: 0
    Last Post: 3 May 2011, 8:19 AM
  5. Alpha 2 treepanel rootVisible:false bug
    By pomata in forum Ext 2.x: Help & Discussion
    Replies: 10
    Last Post: 26 Feb 2007, 9:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •