I add a record to my sfDataGrid, refresh and call BeginEdit on the last row on the new empty cell:
var record = new TipoSpecieSQ { TipoSpecieDesc = "" };
tipiSpecieDbSet.Add(record);
sfDataGrid2.View.Refresh();
RowColumnIndex rowColumnIndex = new RowColumnIndex(tipiSpecieDbSet.records.Count + 1, 1);
sfDataGrid2.MoveToCurrentCell(rowColumnIndex);
sfDataGrid2.CurrentCell.BeginEdit();
it works, and the correct cell gets a blue border, but if I start to type the cell remains empty.
If I click on the cell, then I can type data in.
I tried sfDataGrid2.Focus() and sfDataGrid2.Select(), but same result.
What should I set to be able to add and type directly, without having to click on the cell?
Thanks,
Mattia