Vertical Scrolling with custom GridViewRow.Template

3 posts, 0 answers
  1. GPJ
    GPJ avatar
    31 posts
    Member since:
    Oct 2008

    Posted 07 Jul 2009 Link to this post

    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. Kalin Milanov
    Admin
    Kalin Milanov avatar
    447 posts

    Posted 08 Jul 2009 Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. GPJ
    GPJ avatar
    31 posts
    Member since:
    Oct 2008

    Posted 08 Jul 2009 Link to this post

    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
Back to Top