Hi All,
I have a requirement to have the xamgrid editing operation similiar to Microsoft Excel.
I mean the user can edit an activecell as soon as he types on the grid cells similiar to excel.
User should not be required to press "Enter" key on the active cell.
Can you please suggest how to do it with a sample.
Thanks
Rakesh
Hello Rakesh,
Thank you for your post. I have been looking into the functionality that you have described and I can suggest using the PreviewKeyDown event of the XamGird and call the EnterEditMode method of the XamGrid, in the event handler. I have created a sample application for you, that shows how you can implement this approach.
Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Hi Krasimir,
Thanks for your reply, I saw your sample and it somewhat matches my requirement.
But I observe that before active item goes into edit mode, the first character pressed is missed by the application.
For eg if i enter a value "42" in the active item cell than what i see is only "2" after value is displayed.
Can you please also suggest a way to include the first character which got missed in the changed text value.