Dear team,
I have a customized column that constains my own usercontrol inside. The column works perfectly but when we sort by another column, this column don't move.
This is my column definition:
<telerik:GridViewDataColumn
Width="*"
Header="{Binding Source={StaticResource appResx}, Path=ep_ClearOpeningRange}"
HeaderTextAlignment="Center"
IsReadOnly="False">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<StackPanel>
<TextBox Text="{Binding ModelOpeningSill.OpeningType.ProductAttributeValueCode}" />
<my:MultiRangeSlider
Id="{Binding ApplicationRangeId}"
Maximum="3000"
Minimum="600"
PropertyChangedCommand="{Binding DataContext.ApplicationRangeChangedCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:ModelDetailView}}}"
Thumb1="{Binding CertifiedMinimumClearOpening, Mode=TwoWay}"
Thumb2="{Binding CertifiedMaximumClearOpening, Mode=TwoWay}"
Thumb3="{Binding RecommendedMinimumClearOpening, Mode=TwoWay}"
Thumb4="{Binding RecommendedMaximumClearOpening, Mode=TwoWay}"
TickFrequency="50" />
</StackPanel>
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>
My usercontrol is a multirange slider called: <my:MultiRangeSlider>. The textbox inside the StackPanel is sorted correctly but my usercontrol is totally static.
Attached captions maybe can help to understand my problem. In these captions the textbox inside the stackpanel was hidden (only was created for test).
Thanks in advance!