PDA

View Full Version : [2.2] Ext.Toolbar.TextItem



tobiu
4 Sep 2008, 5:09 PM
hi together,

it is not really a bug, but a basic feature missing. At the moment, there is no way to change the text dynamically with a standard-function after building the element.

so, a function called setText() would be really nice.

for the moment, i use the workaround:


myTextItem.getEl().innerHTML = "new Text";



kind regards, tobiu

evant
4 Sep 2008, 5:30 PM
Agreed, however as you've said, this isn't a bug, so I'll move it to Open Discussion.

jack.slocum
6 Sep 2008, 12:46 PM
This is slightly shorter. :)

item.el.update('My Text');