EasyUI Forum
May 02, 2024, 06:24:54 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Click cell open dialog  (Read 6312 times)
finzaiko
Newbie
*
Posts: 44


View Profile
« on: March 24, 2014, 01:32:15 AM »

How to open dialog when I click specify cell?
I'v try onClickCell event but not working,
Code:
onClickCell: function(rowIndex, field, value) {
       // open dialog here..
       alert('its work');
},

http://jsfiddle.net/dGd5E/4/
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: March 24, 2014, 06:15:44 AM »

Make sure that you are using the latest edatagrid plugin, it can be downloaded from http://www.jeasyui.com/extension/edatagrid.php. Try this updated example http://jsfiddle.net/dGd5E/5/.
Logged
finzaiko
Newbie
*
Posts: 44


View Profile
« Reply #2 on: March 24, 2014, 06:36:16 PM »

Solved, thanks stworthy.
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!