Aug 07, 2013, 2:57 PM
ComboBox search not working
Hello.
I have the following ComboBox in one form:
The search functionality of the ComboBox works perfectly fine in one form, however when I use the exact ComboBox in another form the search functionality does not work anymore.
Any help would be much appreciated
I have the following ComboBox in one form:
<ext:ComboBox runat="server" ID="Country" Width="250" FieldLabel="Country" LabelAlign="Right"
LabelSeparator=" " AllowBlank="false" StoreID="storeCountry" ValueField="getId"
DisplayField="getName" QueryMode="Local">
<ToolTips>
<ext:ToolTip ID="ToolTip10" Height="30" runat="server" TrackMouse="true">
<Listeners>
<BeforeShow Handler="item.setWidth(#{cmbCountryAddress}.getRawValue().length*7);">
</BeforeShow>
<Show Handler="#{Country}.getRawValue()!=''? this.body.update(#{Country}.getRawValue()):this.hide();" />
</Listeners>
</ext:ToolTip>
</ToolTips>
<Triggers>
<ext:FieldTrigger Icon="Clear" HideTrigger="true" />
</Triggers>
<Listeners>
<AfterRender Handler="this.forceSelection=true;">
</AfterRender>
<Select Handler="this.getTrigger(0).show(); App.direct.MyFunction(this.getValue(),true,null);">
</Select>
<BeforeQuery Handler="this.getTrigger(0)[this.getRawValue().toString().length == 0 ? 'hide' : 'show']();" />
<TriggerClick Handler="CountryTriggerClick();" />
<Blur Handler="this.getTrigger(0).hide();">
</Blur>
<Focus Handler="this.getTrigger(0)[this.getRawValue().toString().length == 0 ? 'hide' : 'show']();" />
</Listeners>
</ext:ComboBox>
The search functionality of the ComboBox works perfectly fine in one form, however when I use the exact ComboBox in another form the search functionality does not work anymore.
Any help would be much appreciated