DataGrid Boolean Column

G

Guest

Hi,
I have a boolean column in my datagrid. During runtime when I check the
checkbox there are actually Three states for the checkbox. So I have to
actually double click to change from true to false. is there a way in which I
can just click once and then when I check it toggeles. Something like setting
the Threestate property for a Checkbox as false.How can I achive the same for
a Datagrid column.

myDataColumn = new DataColumn("CoumnName",typeof(bool));
thanks.
-ZS
 
J

Jose Luis Apuy

Hi ZS,

but, what was your way to solve it, cause I tried setting the
allowdbnull to false and didn't work

thanks,

Jose Luis
 
J

Jose Luis Apuy

Hi ZS,

What was you way to solve it, I set the allowdbnulls to false and still
have the same problem

Thanks

Jose Luis
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top