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

[Solved] URGENT : Extra column in the RadGrid | Grid loosing out horizontal scroll

2 Answers 118 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Shiva
Top achievements
Rank 1
Shiva asked on 03 Jan 2011, 08:12 AM
Hi All,

We are getting extra blank column in the rad grid. We searched for this issue's resolutioon on internet and found that this is because of extra width available with the radgrid and the grid is utilizing that space by adding an extra blank column. We searched telerik forums and found that this issue can be resolved by setting the width of the last column to *. The same can be programatically achieved as below:

gridRank.Columns[1].Width = new GridViewLength(1, GridViewLengthUnitType.Star);

What problem are we actually facing??
When we set last column's width to *, we are loosing the horizontal scroll of the grid. As the data length increases in the last column, we are not able to use the horizontal scroll to see the data in that column as the horizontal scroll is not coming up. Although, we have set below properties in the radgrid:
ScrollViewer.HorizontalScrollBarVisibility="Auto" 
  
and
  
ScrollViewer.VerticalScrollBarVisibility="Auto"

Can you please share your comments with us and let us know what should we actually do to get rid off this peculiar behaviour?

Warm Regards,
Shiva

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 03 Jan 2011, 08:21 AM
Hello,

 You need to choose if you want to get rid of the right space (setting some of the columns width *) or have a horizontal scrolling. You cannot achieve both!

Greetings,
Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Shiva
Top achievements
Rank 1
answered on 03 Jan 2011, 08:28 AM
Dear Vlad,

Happy New Year. It is always nice to hear from you.

Shocked to find out that we cannot achieve both at the same time. Is there any alternative solution to it or are you planning to fix this in next release? If so, can you please keep me in loop and let me know when this is fixed.

Regards,
Shiva
Tags
GridView
Asked by
Shiva
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Shiva
Top achievements
Rank 1
Share this question
or