Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
205
Automatically creating a new ron on edit row ended
posted

My users want to it so that when they're done editing a row in the grid, a new row is immediately added to the grid as though they clicked on the add row link. I have that part working but the display behavior of the grid is odd. Instead of the edit row appearing at the top of the grid, it appears immediately below the row they were editing, making it look like they're editing a different row now instead of actually creating a new one.

Is there something I need to do in order to correct this so that it displays properly?

I have the following jQuery code in place to handle starting the edit of a new row:

$("#MyGrid").on("iggridupdatingeditrowended", function (evt, ui) {

if (ui.update)

$("#MyGrid").igGridUpdating("startAddRowEdit");

});

Here is a screenshot of what I'm seeing for reference:

startAddRowEdit issue screenshot

https://www.dropbox.com/s/1y748jhn71rlrw2/startAddRowEdit%20Issue.png?dl=0