1. #1
    Sencha User
    Join Date
    Feb 2012
    Location
    Russia
    Posts
    30
    Vote Rating
    0
    vasily_87 is on a distinguished road

      0  

    Default Unanswered: TreePanel Bug

    Unanswered: TreePanel Bug


    When I click a record , record above is highlighted. The first record repeates as last.
    You can see
    https://skydrive.live.com/redir.aspx...MDc-Zp1cEreGYc

    My treepanel:
    Code:
                {
                                xtype: 'treepanel',
                                id: 'trpnlSets',
                                width: 150,
                                title: 'Наборы',
                                store: 'GraphSetParamTreeStore',
                                rootVisible: false,
                                region: 'west',
                                viewConfig: {
                                    rootVisible: false
                                },
                                listeners: {
                                    beforerender: {
                                        fn: me.onTreepanelBeforeRender,
                                        scope: me
                                    }
                                },
                                dockedItems: [
                                    {
                                        xtype: 'menutoolbar',
                                        dock: 'bottom'
                                    }
                                ]
                            }
    My store:
    Code:
    Ext.define('Application.store.GraphSetParamTreeStore', {
        extend: 'Ext.data.TreeStore',
    
    
        constructor: function(cfg) {
            var me = this;
            cfg = cfg || {};
            me.callParent([Ext.apply({
                autoLoad: false,
                storeId: 'GraphSetParamTreeStore',
                proxy: {
                    type: 'ajax',
                    api: '{read : /GraphSetParam/Index1}',
                    url: '/GraphSetParam/Index1',
                    reader: {
                        type: 'json'
                    },
                    writer: {
                        type: 'json'
                    }
                },
                fields: [
                    {
                        name: 'text',
                        type: 'string'
                    }
                ]
            }, cfg)]);
        }
    });
    Last edited by aconran; 24 Apr 2012 at 10:52 AM. Reason: add code tags

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,637
    Answers
    613
    Vote Rating
    400
    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 am unable to see what you are trying to report. Can you send a screen?
    Have you tried upgrading to 4.1?
    http://www.sencha.com/blog/ext-js-4-1-final-released/

    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Location
    Russia
    Posts
    30
    Vote Rating
    0
    vasily_87 is on a distinguished road

      0  

    Default


    Screencast
    http://clip2net.com/s/1RpNP

    I
    'm using 4.0.7. I'm going to upgrade to 4.1 after finishing current project.

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