1. #1
    Sencha User
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    9
    Vote Rating
    0
    crashT is on a distinguished road

      0  

    Question Unanswered: tree listener action to form

    Unanswered: tree listener action to form


    Hello, how can I respond in the form "sl_config" to load it with the data store?
    "me.sl_config.load ();" is probably not correct?
    Thank you for your help

    Code:
    Ext.applyIf(me, {
                items: [
                    {
                        xtype: 'treepanel',
                        name: 'cat',
                        id: 'cat',
                        width: 200,
                        autoScroll: true,
                        title: 'Kategorien',
                        store: 'categories', 
                        region: 'west',
                        viewConfig: {
                            /*plugins: {
                                ptype: 'treeviewdragdrop'
                            }*/
                        },
                        listeners:{
                            itemclick: function(n){
                                console.info(n);
                                me.sl_config.load();
                            }
                        }
                    },
                    {
                        xtype: 'panel',
                        preventHeader: true,
                        title: 'Gerüst',
                        region: 'center',
                        items: [
                            {
                                xtype: 'form',
                                margin: 5,
                                layout: {
                                    type: 'auto'
                                },
                                bodyPadding: 10,
                                title: 'Slidereinstellungen',
                                name: 'sl_config',
                                id: 'sl_config',
                                items: [
                                    {
                                        xtype: 'container',
                                        items: [
                                            {
                                                xtype: 'textfield', .......
    can everybody help me?

  2. #2
    Sencha User
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    9
    Vote Rating
    0
    crashT is on a distinguished road

      0  

    Default


    I have found the solution myself now.


    Code:
    Ext.getCmp('sl_config').load({
    
    });