I have multiple igGrids (2014), all using editMode cell. When I begin editing a cell, then click off the grid, either to another grid or other HTML element, the editCellEnding event is not firing. The event does fire as expected when hitting Enter or tabbing, just not when clicking off the grid. Am I missing a configuration?
Thanks!
Hello John,
Thank you for posting in our community.
The behavior that you are experiencing is expected. The reason is that by design editCellEnded event is fired only when Enter or Tab key is pressed . This will ensure that edit mode is ended and changes are accepted by the grid. Some further information regarding Upodating feature as well as a user interactions chart could be found at the following link:
http://www.igniteui.com/help/iggrid-updating
However, what I can suggest as a workaround for achieving your requirement is handling the blur event or the igEditors and call endEdit method. Basically, the idea is to capture the moment when editors are loosing focus and manually call the method from igGrid`s API to end the edit.
A small sample illustrating my suggestion could be found at the following link:
http://jsfiddle.net/2ga7gm0d/2/
I hope you find my information helpful.
Please let me know if you need any further assistance with this matter.