PDA

View Full Version : Remove focus style of StoreFilterField



senchabruced
15 Jan 2015, 1:55 AM
I am looking for some ways to remove the x-form-foucs css style of StoreFilterField (http://dev.sencha.com/deploy/gxt-.2.1/docs/api/com/extjs/gxt/ui/client/widget/form/StoreFilterField.html).

I have put a storeFilterFiled and some other textfield on a formPanel, if I want to typing some word into the textField, the cursor will turn back to storeFilterField after I clicked the textField, due to storeFilterField will always get focus..

Have tried to use removeStyleName("x-form-focus");, but doesn't work.
Any help is appreciated.