- 注册时间
- 2012-11-16
- 最后登录
- 2013-1-14
- 阅读权限
- 10
- 积分
- 89
- 精华
- 0
- 帖子
- 25
|
如下: <div id="DetailsGrid" class="mini-datagrid" style="width: 100%; height: 100%;"
url="/EqmApply/GetApplyDetailsForGrid" bodystyle="border:0px;" idfield="ApplyDetailsID"
multiselect="true">
<div property="columns">
<div type="checkcolumn" width="5%">
</div>
<div field="StandardName" width="120" headeralign="center" allowsort="true">
名称</div>
<div field="EquipmentSource" width="100" allowsort="true" headeralign="center">
来源
<input property="editor" class="mini-combobox" style="width: 100%;" id="comsource1" />
</div>
</div>
</div>
var applyDetailsGrid = mini.get("DetailsGrid");
DetailsGrid.load({ applicationID: 1},function(e){
var rows = applyDetailsGrid.getData();
for (var i = 0, l = rows.length; i < l; i++) {
var row = rows[i];
applyDetailsGrid.beginEditRow(row);
}
});
现在我的combox加载数据
var comsource = mini.get("comsource1");
var url1 = "/Dictionary/GetDictionaryCombox?name=" + escape("来源");
comsource.setUrl(url1);
数据加载不了因为找不到combox,请问怎么实现
|
|