AD
Administrator
Syncfusion Team
June 2, 2004 08:06 AM UTC
Given a particular grid rowIndex, you can use
GridBoundRecordState rs = this.grid.Binder.GetRecordStateFromRowIndex(rowIndex);
This GridBoundRecordState holds the information you requested, rs.LevelIndex and rs.Position.
To get the rowIndex under the current mouse location, you can use code like;
int row, col;
Point pt = this.grid.PointToClient(Control.MousePosition);
this.grid.PointToRowCol(pt, out row, out col, -1);