Home > Article > Web Front-end > Easy ui problem, please ask for help online_html/css_WEB-ITnose
158bc45e97881d374fc53d108c7aca9eAssigned to 01c3ce868d2b3d9bce8da5c1b7e41e5b
This is a row in the datagrid of easy ui. I used a click event to load this combobox. I would like to ask What method can be used to get the value of this combobox?
getEditor: Get the specified editor, the options contains two properties:
index: the row index. (The index of the row being edited, starting from 0)
field: the field name. (The edited column name, configured by column)
var ed = $('#dg').datagrid('getEditor', {index:1,field:'svrCustNo'});var value=$(ed.target).combobox('getValue')alert(value)
ed The output is an object type and the value is empty. What is it? The reason