Hello,
I need to disable the cell edit based on some properties of my viewmodel.... for standard GridViewDataColumn
I've done
How do I do it for Combo and Numeric?
Thanks
I need to disable the cell edit based on some properties of my viewmodel.... for standard GridViewDataColumn
I've done
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding MULTIPLIER_DA,Mode=TwoWay}"
Header
=
"Size da"
UniqueName
=
"MULTIPLIER_DA"
IsEnabled
=
"{Binding CanUserAdd, RelativeSource={RelativeSource FindAncestor,AncestorType={x:Type Grid}}}"
>
<
telerik:GridViewDataColumn.CellEditTemplate
>
<
DataTemplate
>
<
TextBox
Text
=
"{Binding MULTIPLIER_DA,Mode=TwoWay}"
IsEnabled
=
"{Binding DataContext.CanUserAdd, RelativeSource={RelativeSource AncestorType={x:Type telerik:RadGridView}}}"
></
TextBox
>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellEditTemplate
>
</
telerik:GridViewDataColumn
>
How do I do it for Combo and Numeric?
Thanks