Maybe I'm missing something very simple, but I can't seem to set the focus to a cell after I've already entered a row.
If add a row and use telerik:RadGridViewCommands.BeginInsert, the first time it works great, and puts the cursor on the 1st editable cell.
But after I insert it, and clicks the add again, it puts the cursor on the last column, or the column I last used in my edit.
I tried to set the focus on AddingNewDataItem trigger, but that doesn't seem to work, or I'm doing it wrong.
Should I just do:
myGrid.Columns[1].Focus(); //1 is the column I want, the first is a delete button
because the row isn't in edit mode yet.
BeginningEdit doesn't work because that applies to any cell.
If add a row and use telerik:RadGridViewCommands.BeginInsert, the first time it works great, and puts the cursor on the 1st editable cell.
But after I insert it, and clicks the add again, it puts the cursor on the last column, or the column I last used in my edit.
I tried to set the focus on AddingNewDataItem trigger, but that doesn't seem to work, or I'm doing it wrong.
Should I just do:
myGrid.Columns[1].Focus(); //1 is the column I want, the first is a delete button
because the row isn't in edit mode yet.
BeginningEdit doesn't work because that applies to any cell.