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
130
Keyboard focus when Editor Template is used within XamGrid
posted

Hello,

    We have a XamGrid whose Editor Template is a TextBox. When the user clicks a cell in the XamGrid, it shows the TextBox. However, the user has to click again within the TextBox to start typing. Thus two clicks are needed for each TextBox cell. This behavior is annoying our users.

Is there anyway to automatically enable the keyboard focus on the TextBox that is used as the XamGrid Cell editor ?

[Additional Details]

I noticed that in the default implementation of XamGrid without an EditorTemplate, it behaves correctly. On the first click the cell gets activated and the user is able to start typing. It is only when the XamGrid uses EditorTemplate that two clicks are needed.