Coolite ComboBox 模糊查询
1、ComboBox 默认为左匹配查询
2、实现模糊查询
<ext:ComboBox
ID="DDLDJ" runat="server" StoreID="SDJ" Editable="true"
DisplayField="djmch" ValueField="djid" TypeAhead="true"
Mode="Local" Width="100px" ForceSelection="true"
TriggerAction="All" MinChars="2" >
<Listeners>
<BeforeQuery Fn="SelValue" />
</Listeners>
</ext:ComboBox>
function SelValue(e)
{
var combo = e.combo;
if(!e.forceAll)
{
var value = e.query;
Coolite.AjaxMethods.SelValue(value);
}
}