Hello I was wondering if there is a way to make the checkbox that appears in the respective columns "un-checkable" , essentially read only. I say that because when I set the column to be read only the user is still able to check the checkbox. Even if I set the whole RadGridView
to read only along with the individual columns it still is able to be clicked.
<
telerik:GridViewDataColumn
Width
=
"40"
IsReadOnly
=
"True"
>
<
telerik:GridViewDataColumn.Header
>
<
StackPanel
>
<
TextBlock
Text
=
"Lab"
></
TextBlock
>
<
TextBlock
Text
=
"Req"
></
TextBlock
>
</
StackPanel
>
</
telerik:GridViewDataColumn.Header
>
<
telerik:GridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
CheckBox
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Center"
IsChecked
=
"{Binding LabRequired}"
/>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellTemplate
>
<
telerik:GridViewDataColumn.CellStyle
>
<
Style
TargetType
=
"telerik:GridViewCell"
>
<
Setter
Property
=
"Background"
Value
=
"{Binding LabStatus, Converter={StaticResource MyConverter}}"
/>
</
Style
>
</
telerik:GridViewDataColumn.CellStyle
>
</
telerik:GridViewDataColumn
>