Home › Forums › WinForms controls › Xceed Grid for WinForms › the cell event ? › Reply To: the cell event ?
Me.GridControl1.DataRows(rowIndex).Cells(columnIndex).BringIntoView()
Me.GridControl1.FirstVisibleColumn = Me.GridControl1.Columns(columnIndex)
Me.GridControl1.Select()
—————————– I use a little fool method ——————————–
If columnIndex > 25 Then
Me.GridControl1.Scroll(ScrollDirection.PageRight)
Me.GridControl1.Scroll(ScrollDirection.PageRight)
Me.GridControl1.Scroll(ScrollDirection.PageRight)
ElseIf columnIndex < 5 Then
Me.GridControl1.Scroll(ScrollDirection.PageLeft)
Me.GridControl1.Scroll(ScrollDirection.PageLeft)
Me.GridControl1.Scroll(ScrollDirection.PageLeft)
End If
——————————————————————————————-
Imported from legacy forums. Posted by michaelcao (had 7207 views)