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
145
How do I set keyboard focus to the Add Row after adding a row
posted

I have a XamDataGrid (version 2011.2), when a user has tabbed off of the "Add New" row I need the focus to return to the first cell of the Add New row so they can enter another record, the default behaviour keeps the focus on the record that has just been added.

I have tried to use DataPresenterCommands to move the focus or to find a way to set myGrid.Records.DataPresenter.ActiveCell but haven't had any success.

Does anyone have any ideas?