onBlur() of edited row on grid?

How to implement sort of onBlur() when user exiting just edited row? For example user may select another row or even move out from grid or page. I need to call some function on exiting selected and edited row.



Thanks

There is no exact onBlur event but you can use

onEditCell event stage 2 occurs when user closes current active editor
onBeforeSelect event occurs when different row selected in grid

There is no event which can be used to catch the moving focus from the grid to any other element of page, but you can use next approach


dhtmlxEvent(document.body, “click”, function(){
// any kind of code here , which must fire when focus moved out of grid
});