EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: thecyberzone on February 21, 2015, 10:45:20 AM



Title: onBeforeEditCell and onAfterEditCell event
Post by: thecyberzone 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.


Title: Re: onBeforeEditCell and onAfterEditCell event
Post by: stworthy on February 22, 2015, 05:50:32 AM
No 'onBeforeEditCell' and 'onAfterEditCell' events exist, please use the 'onBeforeEdit' and 'onAfterEdit' events instead.


Title: Re: onBeforeEditCell and onAfterEditCell event
Post by: thecyberzone 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.