Articles in this section
Category / Section

How to move the currentcell to particular cell by skipping specified number of cells in WinForms GridGroupingControl?

1 min read

InternalMove method

The current cell of a grid can be moved by skipping ‘n’ number of specified cells in any direction. The following InternalMove method can be used to achieve this scenario.

C#

//Move's the Grid CurrentCell by skipping 2 cells in the right direction (From 4,1 To 4,3). 
this.gridGroupingControl1.TableControl.CurrentCell.InternalMove(GridDirectionType.Right, 2, GridSetCurrentCellOptions.ScrollInView);

VB

‘Move's the Grid CurrentCell by skipping 2 cells in the right direction (From 4,1 To 4,3). Me.gridGroupingControl1.TableControl.CurrentCell.InternalMove(GridDirectionType.Right, 2, GridSetCurrentCellOptions.ScrollInView);

Samples:

C# - Internal Move

VB - Internal Move

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied