View Full Version : Ext 4.1.1: Label inside a surrounding div

24 Jan 2013, 7:57 AM
Hy there,

how can i create an Ext.form.Label that is always surrounded by a div without losing all the functionality of the label (setText, ...)?
I've already played a little with autoEl, rendertTpl and manually creating the div and moving the label into it in afterrender but nothing really worked out too well.

I'd really appreciate some help on this!


28 Jan 2013, 12:21 PM
The setText isn't that complicated. You can create your own extension of Ext.Component and include the setText.