Adding new empty row and editing all cells one by one #2364
Unanswered
kenyazilim
asked this question in
Q&A
Replies: 1 comment
-
You need to add another empty record to the grid if it was the last record that was changed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am adding a new row to the grid and then using grid.editField(newRecId, 1) to edit the cell after the recid (recid is hidden) so that the user can begin to enter data into the new row. I want to be able to allow the user to enter data into the first cell and then, when they press the Enter key, move on to edit the next cell and so on until the last cell. The editField function does not seem to work after the Enter key is pressed. If the new row is added at the top, it moves to the row below, but if it is added at the bottom, it remains in place. I have managed to detect that the key pressed is 'Enter', but I can't seem to move to the second cell. How can I achieve this?
I'm using version 2 of w2ui
Beta Was this translation helpful? Give feedback.
All reactions