# Perspective table - call onCellEditCommit from onBlur event

**URL:** <https://forum.inductiveautomation.com/t/perspective-table-call-oncelleditcommit-from-onblur-event/43588>\
**Category:** Ignition\
**Created:** [February 18, 2021, 9:58pm UTC](https://forum.inductiveautomation.com/t/perspective-table-call-oncelleditcommit-from-onblur-event/43588 "2021-02-18T21:58:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [February 18, 2021, 9:58pm UTC](https://forum.inductiveautomation.com/t/perspective-table-call-oncelleditcommit-from-onblur-event/43588/1 "2021-02-18T21:58:44Z")

</div>

Ignition 8.1.1.

Table cell editing requires that _Enter_ is pressed to trigger the _onCellEditCommit_ event.

How do I call the _onCellEditCommit_ routine from the _onBlur_ event?  
Oh, and will it work?

---

<div class="post-metadata">

**Author:** ![chandler](https://avatars.discourse-cdn.com/v4/letter/c/e9a140/32.png) [@chandler](https://forum.inductiveautomation.com/u/chandler)\
**Post date:** [February 18, 2021, 10:38pm UTC](https://forum.inductiveautomation.com/t/perspective-table-call-oncelleditcommit-from-onblur-event/43588/2 "2021-02-18T22:38:35Z")

</div>

If you want the script that you have written for the onCellEditCommit script to run from the onBlur event also, you could move the onEditCellCommit script code into a function in the project script library, then call the function in the onEditCellCommit event as well as the onBlur event. If you are wanting to be able to commit the text entered into the cell when the cell loses focus, I do not know how. That is something I would like to do as well.
