Hi,
I have a RadTreeListView in my application.
I have severals columns using CellEditTemplate.
When the size of the element in the CellEditTemplate gets bigger than the column's, the column is not resized.
For example :
<telerik:GridViewDataColumn Header="{localization:Translate Key=PBODetailGrid_Perte, Default=PBODetailGrid_Perte}"
DataMemberBinding="{Binding Perte, Mode=TwoWay, Converter={StaticResource FormatAmountConverter},ConverterParameter='Perte'}"
TextAlignment="Right"
IsFilterable="False"
UniqueName="lblPerteRTL"
MinWidth="60" >
<telerik:GridViewDataColumn.CellEditTemplate>
<DataTemplate>
<TextBox Text="{Binding Perte,
Mode=TwoWay,
Converter={StaticResource FormatAmountNullConverter}}" HorizontalAlignment="Center"/>
</DataTemplate>
</telerik:GridViewDataColumn.CellEditTemplate>
When the size of the TextBox is more important than the size of the column, the column is not resized.
Some columns in my RadTreeListView don't use DataTemplate, and their width resize normally.
Do you have an idea on how I can manage this issue ?
Thanks by advance :)
I have a RadTreeListView in my application.
I have severals columns using CellEditTemplate.
When the size of the element in the CellEditTemplate gets bigger than the column's, the column is not resized.
For example :
<telerik:GridViewDataColumn Header="{localization:Translate Key=PBODetailGrid_Perte, Default=PBODetailGrid_Perte}"
DataMemberBinding="{Binding Perte, Mode=TwoWay, Converter={StaticResource FormatAmountConverter},ConverterParameter='Perte'}"
TextAlignment="Right"
IsFilterable="False"
UniqueName="lblPerteRTL"
MinWidth="60" >
<telerik:GridViewDataColumn.CellEditTemplate>
<DataTemplate>
<TextBox Text="{Binding Perte,
Mode=TwoWay,
Converter={StaticResource FormatAmountNullConverter}}" HorizontalAlignment="Center"/>
</DataTemplate>
</telerik:GridViewDataColumn.CellEditTemplate>
When the size of the TextBox is more important than the size of the column, the column is not resized.
Some columns in my RadTreeListView don't use DataTemplate, and their width resize normally.
Do you have an idea on how I can manage this issue ?
Thanks by advance :)