We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to select the first row by using arrow key when the current selection is in last row and viceversa of GridListControl?

To select the first row using arrow key when the current selection is in the last row and viceversa of GridListControl, use TableControlCurrentCellKeyDown event. This handles the key down on the current cell and also invokes the CurrentCellShowingDropDown event as the GridList control displays the dropdown grid to select the records.

In the given sample, the GridList control is added as a column for the grid grouping control.

C#

 

VB

 

Note: Fire the TableControlCurrentCellKeyDown event with in CurrentCellShowingDropDown event.

The following image displays the GridList control with the drop down grid.

Sample Link:

C#: SelectionInGridListControl

VB: SelectionInGridListControl

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
4840 05/12/2015 05/13/2015 Windows Forms GridListControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.