jqGrid: Is it possible to commit a cell change when tabbing off instead of pressing Enter?
Posted
by The Matt
on Stack Overflow
See other posts from Stack Overflow
or by The Matt
Published on 2009-09-14T23:00:37Z
Indexed on
2010/05/18
21:50 UTC
Read the original article
Hit count: 202
I have a simple in-line edit in my grid, and I want to commit the change when the user tabs off the textbox. The default behavior of jqGrid forces the user to press 'Enter' to commit the change, but this is non-intuitive for our users.
onSelectRow: function(id) {
$(gridCoreGroups).editRow(id, true, undefined, function(response)
{
alert("hello world");
}
}
I've worked my way through the events provided, but they all happen as a result of the user pressing 'Enter', which I want to avoid. Is there something I can wire up that would trigger an action when the user tabs off this cell?
© Stack Overflow or respective owner