How can I prevent adding the new record to the grid when the user press the "Down Key"
I want to add it to the grid when the user press "Enter Key" only.
Is this possible???
I don't think this is going to be possible. The AddNewRow will process when you lose focus on the row. So a click off the row would complete the add new action.
Ok but why there is no "Row Lose focus" event on the grid so that I can handle the logic in it??
Hi,
We have a RowAdded event, however, you won't be able to tell what triggered the add. Even if we had a "RowLostFocus" event, you'd face the same obstacles as the RowAdded event.
Its an interesting request, and i'll give it some thought, but currently i'm not sure how this can be achieved with the current implementation of the AddNew feature.
-SteveZ