PDA

View Full Version : Trigger issue in combobox



joshua.ejsm
18 Dec 2014, 2:54 AM
Hi ,

I have a issue with combo box in which trigger and cross mark are cling to each other as shown attachment. I couldn't able to move them apart. The cross mark getting enable after enter a text into combo box.
Please help me out in this regard.


Ext.extend(Ext.form.ComboBox, {
hiddenName:'trailerDD',
id: 'trailer',
typeAhead: true,
triggerAction: 'all',
lazyRender:true,
fieldLabel: 'Trailer',
name: 'Trailer',
title: 'Trailers Details',
store: 'tStore',
width: 180,
mode: 'local',
displayField: 'trail',
valueField: 'id',
listeners:{
'select':function (hideTrigger) {
//alert(this.hideTrigger+"||"+hideTrigger+""+this.getValue());
display();

}
51303