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

Grid columns with extrange behavior

2 Answers 30 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Miguel Rios
Top achievements
Rank 1
Miguel Rios asked on 04 Dec 2009, 04:59 PM

Hi to the Telerik team,

I'm facing a problem with the size of the columns in a RadGrid. The problem starts when I expand a context bar in the right part of the screen, i have 2 grids and they decrease their size when i expand the bar, so the width of the columns, now when i contract it, it is suposed that the column width should go back to the original size but  the columns of one of the grid never returns to the original size, they stay as when the grid was contracted.

The properties set in that grid are:

MultipleSelect="False" UseAlternateRowStyle="True" Grid.Row="2" Grid.Column="0"  RowLoaded="RowLoaded_Event" AutoGenerateColumns="False" ColumnsWidthMode="Fill" ItemsSource="{Binding source}" SelectedItem="{Binding Path=Selected, Mode=TwoWay}" 
ValidationMode="Row" RowEditEnded="RowEditEnded_Event" BeginningEdit="BeginningEdit_Event" VirtualizingStackPanel.VirtualizationMode="Standard" AutoExpandGroups="True" CanUserFreezeColumns="True" 


and in each column i have:

Header="Name" IsResizable="True"  MinWidth="17" DataMemberBinding="{Binding Name, Mode=TwoWay}" IsReadOnly="True"   
 


For some columns i dont' declare the width property, so the column fill the left space at the first time the data is loaded, and that works the first time, but not after if contract the grids.

Any ideas or suggestions about this thread?


Greeting to the Telerik team.

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 10 Dec 2009, 10:25 AM
Hi,

 Can you post more info about your grid version? Do you have our just published service pack 1 for Q3?


All the best,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Miguel Rios
Top achievements
Rank 1
answered on 20 Apr 2010, 09:59 PM
Hi,

the issue was resolved with the new release of telerik at that time.... i don't exactly remember when was that... or the version of the assembly.

If you need it i can search it for you.

Thanks you!
Tags
GridView
Asked by
Miguel Rios
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Miguel Rios
Top achievements
Rank 1
Share this question
or