jqGrid inline editing event on "Esc" cancel

Posted by gurun8 on Stack Overflow See other posts from Stack Overflow or by gurun8
Published on 2010-04-27T02:30:00Z Indexed on 2010/04/27 2:33 UTC
Read the original article Hit count: 976

Does anyone know if jqGrid inline editing throws events that can be handled? The following code is a simple example of what I'm trying to accomplish:

jQuery('#list').jqGrid('editRow', 0, true, false, false, false, {onClose: function(){alert('onClose')}}, reloadGrid);

I'd like to be able to handle an "Esc" cancel event. The onClose event is available with Form Editing:

www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing

but doesn't work with inline editing and the Inline Editing documentation doesn't supply anything event wise other than the extraparam option which is very unspecific:

http://www.trirand.com/jqgridwiki/doku.php?id=wiki:inline_editing

I haven't been able to figure out how to utilize the extraparam options. Suggestions?

© Stack Overflow or respective owner

Related posts about jqgrid

Related posts about inline-editing