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

Expanding Column Headers Does Not Display Horizontal ScrollBar

2 Answers 45 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Chris Andrews
Top achievements
Rank 1
Chris Andrews asked on 03 Nov 2010, 08:10 PM
I'm sure there is some property I am missing, but I am having an issue on initial load of the grid.

Given the following code, if I expand the width of "Column 1" to the right, I never get the horizontal scrollbar visible to scroll to view the hidden columns.  This happens with EnableColumnVirtualization set to "True" as well.

<Window x:Class="WpfApplication1.GridWindow"
        Title="GridWindow" Height="300" Width="600">
    <Grid>
        <telerik:RadGridView EnableColumnVirtualization="False">
            <telerik:RadGridView.Columns>
                <telerik:GridViewColumn Header="Column 1" />
                <telerik:GridViewColumn Header="Column 2" />
                <telerik:GridViewColumn Header="Column 3" />
                <telerik:GridViewColumn Header="Column 4" />
                <telerik:GridViewColumn Header="Column 5" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</Window>

2 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 04 Nov 2010, 04:51 PM
Hello Chris Andrews,

May you try to fill the grid with items ? Did you experience the same issue ? 
Furthermore, setting the EnableColumnVirtualization does not reflect the appearance of the scrollbar as it concerns the turning on and off the virtualization.
 

Best wishes,
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
0
Ievgen
Top achievements
Rank 1
answered on 11 Jan 2012, 05:53 PM
I see the same for Silverlight version. There is no horizontal scrollbar when no rows in the grid. is there a way to show it?
Users configure the view, such as  visible columns at run-time and want to see how they (column headers) look even though there is no data.

So again is there a way to show horizontal scrollbar when no data rows only column headers?

Thanks,
Ievgen
Tags
GridView
Asked by
Chris Andrews
Top achievements
Rank 1
Answers by
Maya
Telerik team
Ievgen
Top achievements
Rank 1
Share this question
or