110,567
社区成员
发帖
与我相关
我的任务
分享
if (true)
{
GridView view = sender as GridView;
GridViewInfo vi = view.GetViewInfo() as GridViewInfo;
GridDataRowInfo rowInfo = vi.RowsInfo.GetInfoByHandle(e.RowHandle) as GridDataRowInfo;
if (rowInfo != null)
{
GridCellInfo cellInfo = rowInfo.Cells[0];
if (cellInfo != null)
{
cellInfo.State = GridRowCellState.FocusedCell;
}
}
e.Allow = false;
}