EasyUI Forum
September 13, 2025, 10:31:09 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: onBeforeEditCell and onAfterEditCell event  (Read 7682 times)
thecyberzone
Full Member
***
Posts: 176



View Profile Email
« on: February 21, 2015, 10:45:20 AM »

In editable datagrid there are 2 events named onBeforeEdit and onAfterEdit, usually fires before and after editing a row. Is there any suggestion to implement onBeforeEditCell and onAfterEditCell event for individual cell of the datagrid. I have already seen similar type of event in implementation of inline editing a row, where implementation of onClickCell event actually calls beginEdit and endEdit method implementing the same as onBeforeEditCell and onAfterEditCell method.

Any suggestion is appreciated.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: February 22, 2015, 05:50:32 AM »

No 'onBeforeEditCell' and 'onAfterEditCell' events exist, please use the 'onBeforeEdit' and 'onAfterEdit' events instead.
Logged
thecyberzone
Full Member
***
Posts: 176



View Profile Email
« Reply #2 on: February 22, 2015, 08:22:57 AM »

I am currently using onBeforeEdit/onAfterEdit, but I want onBeforeEditCell/onAfterEditCell event just to call a routine that will vary on different column, Can you give one example how individual column's onBeforeEditCell/onAfterEditCell event can be called along with parameter if it exists.
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!