PDA

View Full Version : ComboBox.getText() - exist?



franzisk
28 Jun 2007, 10:20 AM
I didnt see combo.getText() in documentation (or am I wrong again?).

I would like to get the Text on the field, not the value, I know I have seen this somewhere but dont remember where.

Can anyone help?

wolverine4277
28 Jun 2007, 11:32 AM
Maybe using


Ext.get(comboBoxId).dom.value

or


Ext.getCmp(comboBoxId).getRawValue()

jd_porter
28 Jun 2007, 12:33 PM
the getRawValue function is what you're looking for.