jQuery MiniUI
标题:
celledit保存时怎么分别取下拉框控件的value和text
[打印本页]
作者:
luoxibinken2
时间:
2013-10-26 11:22:01
标题:
celledit保存时怎么分别取下拉框控件的value和text
celledit保存时怎么分别取下拉框控件的value和text
作者:
factory
时间:
2013-10-28 12:24:48
下拉框列不要用type="comboboxcolumn"
<div displayField="ss" field="gender">性别
<input ......>
</div>
然后getChanges()获取出来的数据 ss就是你的text {name:"1",gender:"2",ss:"男"}会是这样的数据,ss就是你的文本
作者:
luoxibinken
时间:
2013-10-28 14:31:27
factory 发表于 2013-10-28 12:24
下拉框列不要用type="comboboxcolumn"
性别
不明白,可以写完整点不
<div type="comboboxcolumn" autoshowpopup="true" name="AgentConditionHall_LevelID" field="AgentConditionHall_LevelID"
width="200" allowsort="true" align="center" headeralign="center">
级别
<input property="editor" class="mini-combobox" valuefield="CustomerLevel_ID" textfield="CustomerLevel_Text"
url="../Handler/Common/GetCustomerLevel.ashx" emptytext="请选择级别" shownullitem="true"
nullitemtext="请选择级别" style="width: 100%" />
</div>
作者:
felt
时间:
2013-10-28 14:46:02
<div autoshowpopup="true" name="AgentConditionHall_LevelID" field="AgentConditionHall_LevelID"
displayField="xxxxxxxx"
width="200" allowsort="true" align="center" headeralign="center">
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2