-
Answered: Add empty text uin combo box
Answered: Add empty text uin combo box
HI
I add an empty text in combo box by
storeComboSearch.insert(0,{status_label: ' ', status_code:'nul'});
but when I select the empty text item, the combo box show . How can I solve it? or do you have another solution to add an empty text?
Thankyou
-
Best Answer Posted by
scottmartin
-
you can use the emptyText config of the combobox to display some text when the combobox store is empty:
http://docs.sencha.com/ext-js/4-0/#!...-cfg-emptyText
-
Sencha - Support Team
-
Alternatively you could just set the status_label to '\u00a0' instead of ' '
-
Thank you Farish, Scott and droessner.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us