PDA

View Full Version : Ext.ux.form.SearchField width and events bugs.



Mycoding
29 Jan 2011, 9:09 PM
I mentioned such bugs.
I can't set width to new Ext.ux.form.SearchField I do it like this


tbar:[{
hidden:Ext.util.Cookies.get('group')=='root'?false:true,
text:'???????? ?????? ??????',
iconCls:'icon-email-edit',
handler:orderEditStatus
},
new Ext.ux.form.SearchField({
width:240,
store: store,
paramName: 'all_field_search'
})
],

All I get is SearchField with about 10 pixels. Ext.ux.form.SearchField I get from framework package.
To solve it I have to use hack:set id to Extention and set in css property


#qick-search{
width:200px !important;
}

All other works good and combobox,filedtext,Ext.form.TwinTriggerField.

The second bug is the I can't set event keyup,keydown,keypress although in API in Ext.form.TwinTriggerField
these events are and Ext.ux.form.SearchField extends Ext.form.TwinTriggerField but specialkey works.

Maybe I somethong don't know about it and that is not bugs but my own errors.
I do all right it is seemd to me.

These bugs are in Chrome,Firefox on other I don't test.