PDA

View Full Version : TextField and Combobox question



happyboyhk
24 Jul 2017, 8:44 AM
Hi all, me again!

Since I am new in GXT 4, I have many question to ask. Hope someone can give me some suggestions.

Question
1) How to trim the space in TextField. I tried setValue(value.trim(), fireEvents, redraw) and getValue().trim() but doesn't work.
2) How to keep the inputted value into combobox field which inputted don't exist in the combobox store. Because I find that the field will clear after blurred outside the combobox.

Thanks!
happyboyhk