or

I have a hierarchic GridView and I want to scroll to the selected row after a new databind of the control.
If I do
this.radGridView1.TableElement.ScrollToRow(this.radGridView1.CurrentRow);no problem if the current row is a parent row but if the current row is a child row the GridView scroll to the end.
How to scroll to a selected child row?
Thanks


void rGridViewTasks_ViewCellFormatting(object sender, CellFormattingEventArgs e)
{
if (e.CellElement.ColumnInfo.Name == "Priority") { //if ((DateTime)e.CellElement.RowInfo.Cells["TargetDt"].Value >= DateTime.Now ) //{ // e.CellElement.BackColor = Color.DarkRed; // e.CellElement.Value = "1"; //} //else if (((DateTime)e.CellElement.RowInfo.Cells["WarningDate"].Value >= DateTime.Now) && // ((DateTime)e.CellElement.RowInfo.Cells["TargetDt"].Value < DateTime.Now)) //{ // e.CellElement.BackColor = Color.DarkOrange; // e.CellElement.Value = "2"; //} //else //{ // e.CellElement.BackColor = Color.DarkGreen; // e.CellElement.Value = "3"; //} }
} 
