Home All Groups Group Topic Archive Search About

DataGridBoolColumn - Greyed Out

Author
18 Jan 2006 3:13 PM
NetRacer
hi,

i have a DataGrid with a DataGridBoolColumn. The assigned Column is a
TinyInt and the values are only 0 or 1. I set these values to the
TrueValue und FalseValue Property, but the CheckBox doesn't show the
values but is greyed out.

what goes wrong here?

thanx a while
   netracer

Author
18 Jan 2006 7:28 PM
Cor Ligthert [MVP]
NetRacer,

The DataGridBoolColumn wants a boolean value.

Here a sample how to solve this.

http://www.vb-tips.com/default.aspx?ID=76a81eb8-ea2d-48f4-99c3-a3539697edbd

I hope this helps,

Cor
Author
18 Jan 2006 9:42 PM
NetRacer
Cor Ligthert [MVP] schrieb:
> NetRacer,
>
> The DataGridBoolColumn wants a boolean value.
>
> Here a sample how to solve this.
>
> http://www.vb-tips.com/default.aspx?ID=76a81eb8-ea2d-48f4-99c3-a3539697edbd
>
> I hope this helps,
>
> Cor
>
>

Cor,

i know your site.
what are the propertys TrueValue and FalseValue for, if there are only
Booleans allowed anyway? i think this is senseless?!

however, thanx for your help.
   netracer