- 注册时间
- 2014-5-15
- 最后登录
- 2021-5-27
- 阅读权限
- 10
- 积分
- 872
- 精华
- 0
- 帖子
- 209
|
felt 发表于 2014-10-27 17:18
看不清你什么问题,按照我们例子做,combobox的话不要用type="comboboxcolumn"
[
{id:"1", name: "字符串", value: "abc", editor: "textbox"},
{id:"2", name: "数值", value: 1, editor: "spinner"},
{id:"3", name: "布尔值", value: true, editor: "boolean"},
{id:"4", name: "日期", value: "2010-11-12", editor: "datepicker", format: 'yyyy-MM-dd' },
{id:"4", name: "时间", value: "10:11:12", editor: "time", format: 'HH:mm:ss' },
{id:"5", name: "选择", value: "cn", editor: "countrys"}
]
grid第六条记录 属性:选择,值:cn 下拉框列表的值时中文的,但最后选择出的结果是cn英文
<input class="mini-combobox" id="countrysEditor" url="../data/countrys.txt"/>加上 valueField='id'
textField='text'还是英文的 难道在这里他不会根据这两个属性过滤成中文显示出来吗 |
|