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

[Solved] Scrollbar missing when last column width is set to *

1 Answer 174 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.
Paul Brun
Top achievements
Rank 2
Paul Brun asked on 23 Feb 2011, 01:49 AM
I need the scrollbar to be visible if the content of the last column is clipped. It appears that when I set the last column width to "auto", the scrollbar is visible, but I want the width column to be set to "*" instead.

How can I make the scrollbar visible as the grid is part of a base XAML class used in two area's of the UI. One where scrollbar is not necessary as the width is wide enough to view all the content and another where I need a scrollbar as the details in the last column is wider than the visual area.

Thoughts?

Paul

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 23 Feb 2011, 03:15 PM
Hi Paul,


The behavior you described is the expected one. Once you have set the ColumnWidth property of RadGridView to star or set the Width property of the last column to star, it will fit all the available space and the horizontal scrollbar would not appear.


Best wishes,
Vanya Pavlova
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
GridView
Asked by
Paul Brun
Top achievements
Rank 2
Answers by
Vanya Pavlova
Telerik team
Share this question
or