EasyUI Forum
May 03, 2024, 07:44:12 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: datagrid + onClickRow + onDblClickCell  (Read 5841 times)
rezzonico
Full Member
***
Posts: 183


View Profile
« 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
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 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.
Logged
rezzonico
Full Member
***
Posts: 183


View Profile
« Reply #2 on: October 21, 2017, 07:27:03 AM »

Thanks !

Regards
Miche
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!