getEditor: Get the specified editor, the options contains two properties:
index: the row index.(正在编辑的行的下标,从0开始)
field: the field name.(编辑的列名称,column配置的)
var ed = $('#dg').datagrid('getEditor', {index:1,field:'svrCustNo'});var value=$(ed.target).combobox('getValue')alert(value)ed 输出来是个object类型的 value是空的 是什么原因啊
HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号