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

disappears when last column width is set to *

1 Answer 101 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Anna
Top achievements
Rank 1
Anna asked on 29 May 2011, 01:24 PM
Hi,

I wanted to remove the additional column added after all RadGridView columns, so I set the last column width property to *,
but then, when one of the columns content is longer than the RadGridView width  - the horizontal scrollbar doesn't appears.
How can I remove the additional column without losing the horizontal scrollbar?

 

Thanks,
Anna.

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 30 May 2011, 02:07 PM
Hi Anna,

Indeed, when setting a column's Width property to a "*", no scroll bar will be displayed. What you may try is to edit the Template of the RadGridView and set the HorizontalAlignment property of the VirtualzingPanel to "Left". I am sending you a sample project illustrating the suggested approach.
 

Greetings,
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
Anna
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or