tags:

views:

53

answers:

1

I have textfield:

            {
                xtype: 'textfield',
                fieldLabel: 'LBL_EMAIL',
                anchor: '100%',
                listeners: {
                    'render': function(p) {
                        // check certain conditions
                        this.hide()
                    }
                },
            },

"hide()" only hides textbox (without label) and I want hide whole row (textbox and label). Any ideas?

+2  A: 

I found a solution, I have to configure the FormLayout with:

trackLabels: true
Maciej Kucharz