Hello, I have a problem to understand how the GridViewCheckBoxColumn three state works on a end-user perspective.
What happens: I have a grid having a checkbox column with IsThreeState = true, I launche the form: if i click the checkbox the first time it shows me an horizontal line (undetermined state??), if i click it again it shows no check sign (unchecked state), if I click it again it shows a check sign (checked state). The next click set the check box state to unchecked, the following click to checked state .. and so on, no way to set undetermined state again.
What I need: I need to know how the user can set the state to undetermined state again.
Sample code attached (just in case I'm missing something)
note: The data source is a CollectionListView whose source is a EntityFramework Table bound to an sql 2008 table that have a nullable bit column, mapped to a Nullable<bool> CLR property.
<!-- other columns -->
What happens: I have a grid having a checkbox column with IsThreeState = true, I launche the form: if i click the checkbox the first time it shows me an horizontal line (undetermined state??), if i click it again it shows no check sign (unchecked state), if I click it again it shows a check sign (checked state). The next click set the check box state to unchecked, the following click to checked state .. and so on, no way to set undetermined state again.
What I need: I need to know how the user can set the state to undetermined state again.
Sample code attached (just in case I'm missing something)
note: The data source is a CollectionListView whose source is a EntityFramework Table bound to an sql 2008 table that have a nullable bit column, mapped to a Nullable<bool> CLR property.
<
Window.Resources
>
<
CollectionViewSource
x:Key
=
"tQTZ_NoliVociViewSource"
d:DesignSource
=
"{d:DesignInstance my:TQTZ_NoliVoci, CreateList=True}"
/>
</
Window.Resources
>
<
Grid
DataContext
=
"{StaticResource tQTZ_NoliVociViewSource}"
>
<
telerik:RadGridView
Name
=
"tQTZ_NoliVociRadGridView"
ItemsSource
=
"{Binding}"
AutoGenerateColumns
=
"False"
>
<
telerik:RadGridView.Columns
>
<!-- other columns -->
<
telerik:GridViewCheckBoxColumn
IsTreeState
=
"True"
DataMemberBinding
=
"{Binding colonnaLordo}"
UniqueName
=
"colonnaLordo"
Name
=
"colonnaLordo"
Header
=
"Lordo"
Width
=
"70"
>
</
telerik:GridViewCheckBoxColumn
>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
</
Grid
>