EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: rezzonico on October 20, 2017, 12:21:55 PM



Title: datagrid + onClickRow + onDblClickCell
Post by: rezzonico on October 20, 2017, 12:21:55 PM
Hi all,

onClickRow and onDblClickCell works.
But I realize that I cannot define both at the same time.
The following code always display "onClickRow fire".

Code:
            onClickRow: function(){
               alert('onClickRow fire');
            },
            onDblClickCell: function(){
               alert('onDblClickCell fire');
            },

Is it possible to solve this ?

Thanks for any help
Miche


Title: Re: datagrid + onClickRow + onDblClickCell
Post by: jarry on October 21, 2017, 06:15:04 AM
These two events fire when you double click on a cell. You show an alert dialog, it will prevent from clicking on the page. So the 'onDblClickCell' event does not fire again.


Title: Re: datagrid + onClickRow + onDblClickCell
Post by: rezzonico on October 21, 2017, 07:27:03 AM
Thanks !

Regards
Miche