2010-10-05 60 views

回答

2

需要使用stypesearchoptions

{name:'expiry', index:'expiry', width:60, align:'right',stype:'select', searchoptions:{dataUrl:'expiry_select.htm'}} 

更多信息here

+1

目前搜索对话框中有支持**仅适用于文本和选择种类**。我建议Tony(请参阅http://www.trirand.com/blog/?page_id=393/feature-request/editrules-in-serach-dialog/)重写“搜索对话框”以使用编辑对话框中当前使用的代码,并内联编辑。然后可以使用复选框和其他所有包含自定义控件的控件。似乎这个建议被遗忘了。 – Oleg 2010-10-05 19:01:22

1

尝试是这样的:

colModel:[ 
    ... 
    {name:'MyField',index:'MyField', width:80, align:"right", stype:'select', editoptions:{value:":All;0.00:0.00;12:12.00;20:20.00;40:40.00;60:60.00;120:120.00"}},