jQuery MiniUI
标题:
关于datagrid里的combobox控件的问题
[打印本页]
作者:
wao110
时间:
2016-7-11 12:57:02
标题:
关于datagrid里的combobox控件的问题
<div><h3>插件类型</h3></div>
<fieldset class="fieldset"><legend class="legend">插件类型</legend>
<div id="datagrid6" class="mini-datagrid" url="/TBPWeb/app/automationEquipAction.do?method=loadCjlx&equip_id=<%=equip_id%>&cjtype=sny" renderer="onActionRenderer" style="width: 100%;" idField="id" allowResize="false" pageSize="20" allowCellWrap="true"
allowCellEdit="true" allowCellSelect="true" multiSelect="true" editNextOnEnterKey="true" editNextRowCell="true" showPager="false">
<div property="columns">
<div name="action" width="16" headerAlign="center" align="center" renderer="onActionRenderer" headerStyle="background-color: #e5e6e6;">
<img src="../static/images/add.gif" width="16" height="16" alt="新增" class="hand"/>
</div>
<div type="indexcolumn" headerStyle="background-color: #e5e6e6;">序号</div>
<div field="cjlx" headerAlign="center" align="center" headerStyle="background-color: #e5e6e6;">插件类型
<input property="editor" class="mini-combobox" url="/TBPWeb/app/dictronaryAction.do?method=queryDicValByName&fname=sny_bkcjlx" textField="name" valueField="id" style="width:100%;"/>
</div>
<div name="cjsl" field="cjsl" headerAlign="center" align="center" headerStyle="background-color: #e5e6e6;">插件数量
<input property="editor" class="mini-textbox" style="width:100%;" /></div>
<div name="ccwz" field="ccwz" headerAlign="center" align="center" headerStyle="background-color: #e5e6e6;">插槽位置
<input property="editor" class="mini-textbox" style="width:100%;" /></div></div>
</div>
</fieldset>
以上是前台代码 问题如下 进入页面时和选择时显示正常 但是单击其他地方时 该字段就显示为id 请斑竹大大指导
[attach]7649[/attach][attach]7648[/attach][attach]7647[/attach]
作者:
felt
时间:
2016-7-11 13:03:04
列上加type="comboboxcolumn"
作者:
wao110
时间:
2016-7-11 13:13:10
felt 发表于 2016-7-11 13:03
列上加type="comboboxcolumn"
真厉害!
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2