easyui 里 datagrid行内编辑combogrid怎么给同一行其他列赋值

十二恨 2017-07-22 01:32:26

如图所示我选择product如何自动填充List Price 。
...全文
362 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
Go 旅城通票 2017-07-22
  • 打赏
  • 举报
回复
combobox那个editor配置onChange时间,调用datagird的getEditor获取编辑器就行了 getEditor options Get the specified editor, the options contains two properties: index: the row index. field: the field name. Code example: // get the datebox editor and change its value var ed = $('#dg').datagrid('getEditor', {index:1,field:'birthday'}); $(ed.target).datebox('setValue', '5/4/2012');

87,910

社区成员

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

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