View Full Version : searchfield in extjs4

8 Aug 2011, 4:01 AM
Hi All,

I am trying use custom-search example from extjs4 .
I see a field as "SearchField". But i am not able to see that in the Extjs4 Api.
I want to see the Attributes of this xtype.
Can any one help me in finding this in the Api.:((

8 Aug 2011, 10:18 AM
I'm assuming you are referring to the "Ext.ux.form.SearchField" extension. This is an example and therefore not documented. Your best bet is to examine the code and look at the API for the class it extends (Ext.form.field.Trigger)

8 Aug 2011, 10:59 AM
The source is here: http://dev.sencha.com/deploy/ext-4.0.2a/examples/ux/form/SearchField.js

Anything the "ux" (in Ext.ux) denotes "user extension", and you probably won't find it in the Ext libs. It will likely be under a "ux" directory relative to the application.

(ps, am somewhat familiar w/ ext3, and just getting feet wet with ext4; am not sure if there was a change w/ the "ux" moniker from 3 to 4.)

22 Jun 2012, 12:03 PM
Oh yeah! Thanks jeffcrilly (http://www.sencha.com/forum/member.php?36739-jeffcrilly) , that is so helpful!