Gridview Vertical Scrollbar - last item STILL not fully visible

3 posts, 1 answers
    SCHUHFRIED avatar
    4 posts
    Member since:
    Nov 2011

    Posted 04 Dec 2014 Link to this post

    HI, hello,
    I am facing problem which should be fixed already (based post

    this is my code:
    <Grid ScrollViewer.HorizontalScrollBarVisibility="Disabled"
            <telerik:RadPanelBar ScrollViewer.HorizontalScrollBarVisibility="Disabled"
                <telerik:RadPanelBarItem Header="Bar1">
                    some content
                <telerik:RadPanelBarItem Header="Bar2">
                    <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
                            Style="{StaticResource DefaultRadGridView}"
                            ItemsSource="{Binding ItemList}"
                            SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
                                <!-- Name -->
                                    DataMemberBinding="{Binding Name}"
                                    Width="Auto" />
                                <!-- Description -->
                                    DataMemberBinding="{Binding Description}"
                                    TextWrapping="Wrap" />
                <telerik:RadPanelBarItem Header="Bar3">
                    some content

    I have gridview in radpanelbar and I use scrollviewer. When the gridview is resized and wrapping of the text gets working, last item is partially (or whole) hidden. When TextWrapping is set to NoWrap, last item is shown correctly.
    I tried also approach where I used just gridview scrollbar. This worked little bit better (it means that last item was not hiding so dramatically), but problem was still present.

    I prepared nice demo where you can reproduce problem. I am using Q3 2014.

    Steps to reproduce:
    - run demo
    - expand Bar2
    - scroll to last item
    - reduce width of main window to start text wrapping
    - watch last item

    When can be this fixed? Or which workaround should I use to fix this bug?
    I tried to hack it by hooking on LayoutUpdated event and computing correct height of gridview, which worked fine. But unfortunatelly, it caused infinite calling of LayoutUpdated event in some cases (which lead to troubles especially at customers PCs).

    Thanks for help.

    P.S. I can send you working demo. I was not allowed to add zip file as attached files of this post.
  2. Answer
    Dimitrina avatar
    3769 posts

    Posted 05 Dec 2014 Link to this post


    I am glad to let you know the issue is now resolved with the new GroupRenderMode="Flat"As explained in our documentation, the Flat mode was introduced with Q2 2013 as a completely new logic for group rendering. The result was faster scrolling and very good performance, but it also fixed a lot of other issues reproducible with the old Nested mode. 

    Would you please try configuring RadGridView with GroupRenderMode="Flat"?


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

    SCHUHFRIED avatar
    4 posts
    Member since:
    Nov 2011

    Posted 08 Dec 2014 in reply to Dimitrina Link to this post

    Hi, Hello,
    thank you very much. It fixed my problem.

Back to Top