EasyUI Forum
December 20, 2025, 09:49:05 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: onBlur and onFoucs event for the column editor of a datagrid  (Read 12746 times)
thecyberzone
Full Member
***
Posts: 176



View Profile Email
« on: February 12, 2015, 09:59:30 PM »

As focus is not available in editable datagrid row or individual cell of datagrid, is there any way to extend datagrid to emaluate onBlur and onFocus event of datagrid row as well as for individual cell ?
Logged
Opan Mustopah
Full Member
***
Posts: 164


Indonesia


View Profile Email
« Reply #1 on: February 13, 2015, 07:37:11 PM »

please try oBeginEdit event, just bind the editor with blur event jquery.

ex:

Code:
var ed = $(this).datagrid('getEditor',{index:index,field:'test'}
$(ed.target).textbox('textbox').bind('blur',function(e){
  alert('test');
})

Logged

-- Bajak Otak --
*** Sorry for my bad english :3 ***
--JeasyUI version 1.4--
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!