EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: jaimi on January 28, 2015, 11:06:29 PM



Title: edit datagrid on dubble click
Post by: jaimi on January 28, 2015, 11:06:29 PM
Hi, I don't want to get at the edit modus after dubble click on a row. How to switch it off?
THX, Jaimi


Title: Re: edit datagrid on dubble click
Post by: stworthy on January 29, 2015, 07:25:47 PM
If you are using edatagrid plugin, please override the 'onDblClickCell' event.
Code:
$('#test').edatagrid(...);
$('#test').datagrid({
onDblClickCell:function(){
// ...
}
})