Frozen column on sorting by another column

2 posts, 0 answers
  1. Pablo
    Pablo avatar
    8 posts
    Member since:
    Feb 2016

    Posted 17 Jun 2016 Link to this post

    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:

                                        Header="{Binding Source={StaticResource appResx}, Path=ep_ClearOpeningRange}"
                                                    <TextBox Text="{Binding ModelOpeningSill.OpeningType.ProductAttributeValueCode}" />
                                                        Id="{Binding ApplicationRangeId}"
                                                        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" />


    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!

  2. Dilyan Traykov
    Dilyan Traykov avatar
    603 posts

    Posted 21 Jun 2016 Link to this post

    Hello Pablo,

    I'm afraid I'm unable to reproduce the issue you've described with the information provided so far, but what I can offer you is to create your own MultiRangeSliderColumn following the approach described in the Create Custom DateTimePicker Column article.

    You can also have a look at the Custom Column demo from the SDK Samples Browser for a good example on how to create a custom column with a RadSlider as an editor element.

    I hope you find this helpful.

    Dilyan Traykov
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top