我在我的web应用程序上使用jquery datatable插件,具有内联编辑功能。默认编辑设置
$('#example').dataTable().makeeditable({
null //default editing
});仅在按下Enter按钮后触发编辑事件。有没有一种方法可以将其更改为类似于select操作的“点击框外”事件
$('#example').dataTable().makeeditable({
indicator: 'Saving...',
tooltip: 'Click to select option',
loadtext: 'loading...',
type: 'select',
onblur: 'submit',
data: "{'A; A':'B; B'}"
});发布于 2013-04-04 13:55:56
使用Jeditable可能是理想的解决方案。请查看示例here。
https://stackoverflow.com/questions/15803459
复制相似问题