Gridcontrol Focus The Last Selected Item Focus Last Selected

int local = dtData.FocusedRowHandle;
viewData();
dtData.FocusedRowHandle = local;