Current sel

When my grid gets the focus I want to pass it on to the currentcell. How do I do this? Something like: m_MyGrid.CurrentCell.Select(); or m_MyGrid.CurrentCell.Activate(); Thanks!

1 Reply

AD Administrator Syncfusion Team September 10, 2004 05:24 AM UTC

If the currentcell is already at the proper row/col, you can call grid.CurrentCell.BeginEdit(); If you need to move the currentcell and activate it, you can use grid.CurrentCell.MoveTo(row, col, GridSetCurrentCellOptions.SetFocus);

Loader.
Up arrow icon