jqgrid edit cell trigger on lost focus -


i'm using cell edit on editing in jqgrid.

i'm trying set status editing = true when user start editing cell on beforeeditcell , editing = false when user leave textbox.

beforeeditcell : function(rowid, irow, icol){                     selicol = icol;                     selirow = irow;                     editingstatus = true;                 }, 

and want set editing status false

beforesavecell : function(){                     editingstatus=false;                 }, 

but if user didnt change data .. seems beforesavecell not triggered , editingstatus still true. more appropriate trigger beforesavecell event users didnt change data... tia

try aftereditcell event:

aftereditcell: function(){                     editingstatus=false;                 }, 

Comments