Easy ui 编辑列取不到值

sajiazzb 2015-01-16 01:54:52
今天在用easy ui 做设计的时候发现一个问题,在前台定义一个
{ title: "完成", field: 'JSON_Complete', align: 'center', editor: 'numberbox', sortable: true, width: 100 },
{ title: "收入", field: 'JSON_Addamount', align: 'center', editor: 'numberbox', sortable: true, width: 100 }
在点击事件中写:
function onClickRow(index) {

var editors = $('#tab_list').datagrid('getEditors', index);
var priceEditor = editors[0];
}
在前台用alert 输入的时候 priceEditor 取不到值,什么原因?
...全文
227 回复 打赏 收藏 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

87,984

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧