DataGrid Filtering distinct values have no scrolling

5 posts, 0 answers
  1. Michael
    Michael avatar
    23 posts
    Member since:
    Jun 2012

    Posted 13 Apr 2012 Link to this post


    I am using Q1 2012 wpf controls in my project.
    The filter popup shows the list of distinct values that are not scrollable and thus the popup is way too long to fit on the form. all the buttons and other controls are located below the screens bottom edge and not accessible by user.

    Is there a way to limit size of the listbox, to let say 10 rows and have a scrolling added? Otherwise the filtering is absolutely useless.

    Please see attached image of the filter popup
  2. Rossen Hristov
    Rossen Hristov avatar
    2478 posts

    Posted 16 Apr 2012 Link to this post


    That is very strange, since the distinct values ListBox has  a scrollbar on all of our online examples. 

    1. Have you modified any styles / themes, etc.?
    2. Is it possible to send us a very small dummy project that exhibits this behavior and we will immediately debug it to see what is going on and why isn't the scrollbar appearing.

    Thanks in advance.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Michael
    Michael avatar
    23 posts
    Member since:
    Jun 2012

    Posted 03 May 2012 Link to this post

    I have solved my problem by addind style for ListBox with setter for MaxHeigth propery.
  4. Geoffrey
    Geoffrey avatar
    23 posts
    Member since:
    Mar 2011

    Posted 05 Dec 2012 Link to this post

    Micheal, thanks for posting! We had the same issue and I was able to fix it with your post.

    btw, for anyone else having the issue, here is some xaml:

                    <Style TargetType="ListBox">
                        <Setter Property="MaxHeight" Value="400"/>
  5. Christian
    Christian avatar
    1 posts
    Member since:
    Nov 2015

    Posted 27 Nov 2015 Link to this post

    Hallo Geoffrey,

    I'm using Telerik.Windows.Controls.GridView for WPF, 2015.1.401.40, and had similar problems:

    1 - ListView didn'd showed vertical scroll bar - setting MaxHeight to 400 brought it back

    2 - but after that tracking down the scroll bar thumb didn't made the items list scroll.

    Finally found the cause: Some time ago I had copied the standard style for ScrollViewer - provided by Microsoft ( - into my app.xaml. It was just for testing, I didn't made any changes to that!

    After removing this style from the app.xaml the filter dialog worked fine.

    This thread is a little bit old, but may be this helps someone...






Back to Top