The xamGrid by default allow you to add a row by hitting the enter key or by clicking off of it. How do I only allow the enter key to be press to add a record and disable adding a row when clicking off of it?
Hello,
I am very glad that my suggestions was helpful for you. Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Right on Krasimir! Thanks for the solution!
I have created a sample application for you, which demonstrates an approach for implementing the functionality that you are looking for. In order to do that I have used the CellExitingEditMode event of the XamDataGrid and cancel it until the Enter key is pressed or Escape key is pressed in order to cancel the adding.
Please let me know if you need any further assistance on the matter.