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

horizontal scrollbar not reseting

1 Answer 70 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Deepjot Khurana
Top achievements
Rank 1
Deepjot Khurana asked on 10 Jun 2010, 07:54 PM
Hi team,
I have defined RadGridView as follows:
 

<

 

GroupBox Header="Available Parts" DockPanel.Dock="Left">

 

 

 

 

<telerik:RadGridView Name="AvailablePartsGrid"

 

 

 

Width="390"

 

 

 

UseAlternateRowStyle="True"

 

 

 

AutoGenerateColumns="False"

 

 

 

MultipleSelect="True"

 

 

 

ColumnsWidthMode="None"

 

 

 

ShowGroupPanel="False"

 

 

 

CanUserResizeColumns="False"

 

 

 

CanUserFreezeColumns="False"

 

 

 

FrozenColumnCount="1"

 

 

 

 

 

 

ItemsSource="{Binding AvailableParts}"

 

 

 

 

local:RadGridViewExtension.SelectedItemsSource="{Binding AvailableSelectedItems,Mode=TwoWay}">

 

 

 

 

<telerik:RadGridView.Columns>

 

 

 

 

<telerik:GridViewDataColumn DataType="{x:Null}" IsReadOnly="True" IsVisible="True" IsFilterable="False" IsGroupable="False" IsSortable="True" MinWidth="60" UniqueName="PartNumber" Header="Part #" />

 

 

 

 

<telerik:GridViewDataColumn DataType="{x:Null}" IsReadOnly="True" IsVisible="True" IsGroupable="True" IsSortable="True" UniqueName="Description" MinWidth="300" Header="Description"/>

 

 

 

 

</telerik:RadGridView.Columns>

 

 

 

 

<telerik:RadGridView.SortDescriptors>

 

 

 

 

<telerik:SortDescriptor Member="PartNumber" SortDirection="Descending" />

 

 

 

 

</telerik:RadGridView.SortDescriptors>

 

 

 

 

</telerik:RadGridView>

 

 

 

 

</GroupBox>

The problem is it shows the horizontal scroll bar with the desired width and at extreme left for the very first time but once the bar is moved and the source is updated, the scrollbar remains there rather than going to the extreme left (its default position), and its size also is not recalculated.

 

 

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 15 Jun 2010, 08:42 AM
Hello Deepjot Khurana,

I could not reproduce your problem only with the code snippet you have provided. So, I will need more information in order to be more helpful. Mainly, what I need to know is the way you are changing the items source and furthermore, what the version of your controls is. I would be great if you could send us a sample project.

 

Kind regards,
Maya
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Deepjot Khurana
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or