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.

Why the check box is not working fine when the CellValueType is set to bool?

Problem

With the Boolean CellValueType, the check box selection will not work properly. The check mark will be enabled only after 2 clicks with the following code,

C#

 

VB

 

Solution

This issue can be resolved by handling the intermediate option through the CheckBoxOptions property. Pass flateLook value as true to draw the flat checkbox, otherwise false.

C#

 

VB

 

Sample

CheckBox_C#

CheckBox_VB

Article ID: Published Date: Last Revised Date: Platform: Control:
6882 05/18/2016 05/18/2016 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.