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

Vertical Scrolling with custom GridViewRow.Template

2 Answers 34 Views
GridView
This is a migrated thread and some comments may be shown as answers.
GPJ
Top achievements
Rank 1
GPJ asked on 07 Jul 2009, 08:20 PM
Hi,

I have implemented a custom GridViewRow Template but the vertical scrolling of the grid is gone...  I'm not sure if I turned it off though since there doesn't seem to be any property like "VerticalScrollBarVisibility" to set?
       
Here is a sample of how I am defining my grid:

            <telerik:RadGridView x:Name="SettingsGrid" ItemsSource="{Binding ElementName=UC, Path=CurrentSettingList}" ScrollMode="RealTime"  
                                     AutoGenerateColumns="False" ShowGroupPanel="False" IsFilteringAllowed="False" ColumnsWidthMode="Fill" ShowColumnHeaders="False" 
                                     CanUserFreezeColumns="False" CanUserReorderColumns="False" CanUserSortColumns="False" VerticalGridlinesVisibility="Hidden" 
                                     Margin="4,2,4,2" Loaded="SettingsGrid_Loaded"
 

Greg

2 Answers, 1 is accepted

Sort by
0
Kalin Milanov
Telerik team
answered on 08 Jul 2009, 10:54 AM
Hello Greg,

I have double checked your grid definition and there is nothing wrong with it. Could you please send me the template for your custom GridViewRow so I can investigate your issue further?

Regards,
Kalin Milanov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
GPJ
Top achievements
Rank 1
answered on 08 Jul 2009, 06:19 PM
Hi Kalin,

I was playing around with other parts of my XML and it turns out, I had the grid inside a StackPanel with no defined height...  So as I added items, eventually the stack panel would grow beyond the visible space and the grid just followed along.  I removed the stack panel and now the grid happily uses up the visible real estate and shows the vertical scroll bar when it needs to!

Thanks for your reply, but seems this was a case of operator error. :)

Greg
Tags
GridView
Asked by
GPJ
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
GPJ
Top achievements
Rank 1
Share this question
or