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 focus on next cell when the ComboBox dropdown is closed?

In GridControl, on closing the ComboBox dropdown, focus is maintained in a same cell. You can change the focus to the next cell while closing the dropdown in the GridControl by using the CurrentCell.MoveTo() method and set the focus by using the GridSetCurrentCellOptions property.

 

The following code examples explain how to focus on a next cell in the CurrentCellCloseDropDown event.

C#

 

VB

 

In the above image, after choosing a value for the first cell, current cell is moved to the next one.

 

Note: For GridDataBoundGrid and GridGroupingControl, refer to the following code example respectively.

 

GridDataBoundGrid

C#

 

VB

 

GridGroupingControl

C#

 

VB

 

Sample Links

 C#: Move_nextcell_C#

 VB: Move_nextcell_VB

Article ID: Published Date: Last Revised Date: Platform: Control:
4576 04/20/2015 04/20/2015 Windows Forms GridDataBoundGrid(Classic)
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.