I just need to find a way to use enter as submit not advanced to next cell.
Hi Seang,
The igGridUpdating does not expose option to disable/enable (tab/enter) triggers to start editing of next cell.
Application may process editCellStarting event, check for "ENTER key" trigger and cancel that event. Below is example:
$('#grid').igGrid({ ...
features: [{ name: "Updating", // editMode: "cell", editCellStarting: function (evt, ui) { if (evt.keyCode === 13) { //document.forms[0].submit(); return false; } } }]
});
ok that is working, thx.
Hi,
i've used this method to leave edit mode after "return" has been pressed. It worked nice in previous versions. but now that i'm using 13.2.20132.2055, my whole application stops working. When "false" is returned in "editCellStarting"-event, the grid tries to start editing the next cell in column. Again, "false" is returned and so an, thus ending in an infinite loop which makes my application unusable.
I'm using a virtualized (rows only) grid and my "editMode" is "cell".
I hope you can take a look at this
Lorenz
Hello Stamen,
thank you very much. For now i've just deleted some lines from your files, but I'm not really happy with that. So i'll wait for next service release.
Regards
Hello Lorenz,
I can confirm this is a regression and I've logged it internally with ID 162327. We'll make sure to fix it for the next service release.
Best regards,
Stamen Stoychev