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 make a ComboBox cell as case sensitive?

The ComboBox cell can be make as case sensitive by override the FindItem method for custom CellRenderer(CustomComboBoxCellRenderer) to ignore the case insensitive and override the ApplyFormattedText for custom CellModel(CustomComboBoxCellModel) to set the given text to the ComboBox.

The following are the steps that need to be followed,

Step 1: Create CustomComboBoxCellModel by deriving it from GridComboBoxCellModel class.

C#

 

VB

 

Step 2: Create CustomComboBoxCellRenderer from the GridComboBoxCellRenderer.

C#

 

VB

 

Step 3: Set the CustomComboBoxCellModel into default ComboBox cell.

GridControl

C#

 

VB

 

GridGroupingControl

C#

 

VB

 

Screenshot

GridControl

GridGroupingControl

 

Sample Links

GridControl

C# GridControl with ComboBox CS

VB GridControl with ComboBox VB

GridGroupingControl

C# GridGroupingControl with ComboBox CS

VB GridGroupingControl with ComboBox VB

Article ID: Published Date: Last Revised Date: Platform: Control:
7209 01/06/2017 01/06/2017 Windows Forms GridControl
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.