Hi.
I have an question about the focus of Cell.
Immediately after adding a new line, It does not work, although he would like to move the focus of Cell to the specified column of added line.
For example, item will be null in The following codes.
(at Button1_Click method)
radGridView.UnselectAll();
radGridView.SelectedItem = radGridView.Items[insertingRowIndex];
radGridView.CurrentItem = radGridView.Items[insertingRowIndex];
var m_ColumnIndex =1;
var item = (GridViewRow)radGridView.ItemContainerGenerator.ContainerFromIndex(insertRowIndex);
// item is null
item.Cells[m_ColumnIndex].Focus();
// NullReferenceException
Version:
Telerik RadControls for WPF 2010 Q1 309 Trial
Visual Studio:2010 RC
Please help me.
Regards,
athasian.