This is a migrated thread and some comments may be shown as answers.

Frozen column on sorting by another column

1 Answer 25 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Pablo asked on 17 Jun 2016, 10:15 AM

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!

1 Answer, 1 is accepted

Sort by
Dilyan Traykov
Telerik team
answered on 21 Jun 2016, 10:56 AM
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.
Asked by
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question