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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

problems with checkboxes in grid

Thread ID:





105695 Nov 13,2012 04:41 PM UTC Dec 4,2012 01:03 PM UTC WPF 2
Tags: GridControl
Asked On November 13, 2012 04:41 PM UTC


I have a problem since I recently updated from version 9 to the current version.
It seems that now a checkbox in a grid has 3 values: nothing, true or false. How do I set it back to only true or false / checked or unchecked?

My second problem is a bit more serious. I use the tags of the cells, but it seems that if you chance cells, the tags reset to false value.

Thank you for your answers,

Replied On November 22, 2012 09:28 AM UTC

I solved it.

 MyGrid.Model.ColStyles(0).IsThreeState = false

and I used the tag since the cellvalue used to be wrong, but it seems that you fixed that one, so i read the cellvalue now...

Kannan R [Syncfusion]
Replied On December 4, 2012 01:03 PM UTC

Hi Philipp,


Thanks for using Syncfusion products.


We have analyzed your query and the solution you have given will also work. Please find below code snippet as alternative way to achieve your requirement in Xaml.


Code Snippet[Xaml]:


 <syncfusion:GridDataVisibleColumn HeaderText="EmployeeStatus" MappingName="EmployeeStatus">


                      <syncfusion:GridDataColumnStyle CellType="CheckBox" IsThreeState="False" />





We have also prepared sample based on your requirement and it can be downloaded from below location.


Sample Location: 105695ForumSample.zip


Please let us if you have any other queries.





This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon