VirtualQueryableCollectionView and Filtering on Distinct Values

3 posts, 0 answers
  1. Pawel
    Pawel avatar
    39 posts
    Member since:
    Apr 2014

    Posted 29 Apr 2014 Link to this post

    I found in documentation in section GridView/Populating with Data/Using Data Virtualization quote:

    Filtering on Distinct Values is not fully supported when using VirtualQueryableCollectionView. We suggest configuring with ShowDistinctFilters="False". That way only filtering through the Field Filters will be enabled. You can check the basic filtering section as a reference on the filtering support. There you can also find more information on how to filter through the Field Filters.

    What mean, in details, "is not fully supported"? How it reveals?

    How can I cope with it? Maybe loading data separately for Distinct Values section using OnRadGridViewDistinctValuesLoading event can help?(gridview-filtering-howto-display-all-distinct-values)?
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 29 Apr 2014 Link to this post

    Hi,

    This means that the user will only be able to filter on the distinct values that are displayed into view. 
    That is why, in order to avoid any misunderstanding, we suggest you to filter with the field filters.

    Indeed, you are right and you can try loading the distinct values with your own custom logic when the DistinctValuesLoading event is raised.

    Regards,
    Didie
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. Pawel
    Pawel avatar
    39 posts
    Member since:
    Apr 2014

    Posted 29 Apr 2014 Link to this post

    Thank you very much.
Back to Top