Buggy behavior with RadGridView GroupPanel and ScrollViewer.HorizontalScrollBarVisibility.

2 posts, 0 answers
  1. Ravin
    Ravin avatar
    16 posts
    Member since:
    Jun 2012

    Posted 05 Jun 2015 Link to this post


    I am using a <code>RadGridView</code> with <code>ShowGroupPanel="True"</code> and <code>ScrollViewer.HorizontalScrollBarVisibility="Visible"</code>:


    <telerik:RadGridView x:Name="gridViewLogData" Grid.Row="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
                    ItemsSource="{Binding collLogData, Converter={StaticResource collLogDataToSortedCollLogDataConverter}}"
                    AutoGenerateColumns="False" IsReadOnly="True" ShowGroupPanel="True"
                    SelectionMode="Single" SelectedItem="{Binding logData_SelectedItem, Mode=TwoWay}"
                    ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible">
        <!-- snipped -->

    With this markup, if I group data together (similar to in this question: http://www.telerik.com/forums/horizontal-scrollbar-when-grouped, however, I am using the 2014.1.224.1050 release Telerik binaries, and that question is from 2009).

    This is the end result I get: [see TelerikRadGridView-GroupPanel-HorizontalScrollViewer-2015-06-05_15-34-57.png -- attached to this post]

    The horizontal scrollbar remains visible but has no available area to scroll on while the RadGridView is collapsed (even though the headers in the RadGridView more than take up the area of the screen).

    If I take this a step further and expand a single group in the collection, then the ScrollViewer shows an available scroll area; however, if I scroll over to add another column into the GroupPanel, I find that every so often the control gets buggy and the expanded group ends up collapsing before I can scroll over to the proper area to add it.

    I cannot reproduce it 100% of the time, but it does happen quite a bit.



  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 10 Jun 2015 Link to this post

    Hello Ravin,

    The scrollbar remains visible as you have specifically configured it to be constantly visible: ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible".

    Would you please remove those settings? The scrollbar should be automatically displayed when there are more records than can be currently displayed into view. Is it not the case with your implementation? You can also refer to the WPF Demos on RadGridView.

    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 Feedback Portal and vote to affect the priority of the items
Back to Top