【发布时间】:2012-02-08 17:25:32
【问题描述】:
我是 jqgrid 的新手,我有一个编辑类型是自定义的列。
编辑行数据后,我希望将行保存为模糊(当我在所选行之外单击时),为此我使用了 dataEvent ,但它不起作用。
我使用的是 Jqgrid 版本 4.1。
谁能帮我解决这个问题。
我在下面附上了一段代码:
{ name: 'Roles', index: 'Roles', align: 'left', editable: true,
edittype: "custom",
editoptions: {custom_element: renderRoleColumn, custom_value: roleColumnValue,
dataEvents: [{ type: 'blur',
fn: function (e) {
alert("roles");
}
}]
}
}
【问题讨论】:
标签: jquery jquery-ui jquery-plugins jqgrid