我正在使用Jqgrid
,在编辑模式下我正在使用JQgrid
元素中的函数类似于选择框中的Onchange
事件
代码类似于此
{name:'tipo_norma',index:'tipo_norma', editable:true,
width:'90',align:'center',edittype:'select',editoptions:
{dataUrl:'../ajax/selectNorma.php' }}
我想在tipo_norma
组合框的Onchange
事件中添加myfunction(
)。
在editoptions 中使用dataEvent
editoptions: { dataEvents: [
{ type: 'change', fn: function(e) {myfunction(); } },
]}