ScrollBar Vertical

2 posts, 0 answers
  1. Gabriel
    Gabriel avatar
    1 posts
    Member since:
    Dec 2013

    Posted 13 Jan 2014 Link to this post

    Good morning,

                 when I load my data in the gridview, I am having trouble enabling the vertical scroll,
    since pesquesei in telerik documentation and used the method:
    private void EnableScrollBars()
        ScrollViewer.SetHorizontalScrollBarVisibility( this.radGridView, ScrollBarVisibility.Visible );
        ScrollViewer.SetVerticalScrollBarVisibility( this.radGridView, ScrollBarVisibility.Visible );
    Appeared vertical scroll option but was not enabled, you searched the forum and found a solution: AutoGenerateColumns="True"
    <telerik:RadGridView x:Name="gridChamados"
                                         ItemsSource="{Binding Lista, Mode=OneWay}"
    this option was set to false, I made the change to true and now it works, but when I start to go down "muiro fast" using the scroll bar my data disappear, but I can slow down to view data.

    Any suggestions?

    thank you

    Gabriel Tavares
  2. Hristo
    Hristo avatar
    41 posts

    Posted 15 Jan 2014 Link to this post

    Hi Gabriel,

    If the items on the page are not "overflowing" out of the container's size, scrolling will be impossible even if the scrollbars are visible.

    By default if the property AutoGenerateColumns is set to false, you would have to define the columns manually. This is done because the user may not want to display some of the properties of the item and would like to see only the first three and last of them.

    When this property is set to true, GridView creates the column, based on the properties of the object to which it has been bound.

    Can you provide us with more information about your case when the data disappears and which version of our controls you are using?

    You can find different tips & tricks about fixing degraded performance in our online documnentation: link.

    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top