This is a migrated thread and some comments may be shown as answers.

VirtualQueryableCollectionView and Filtering on Distinct Values

2 Answers 49 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Pawel
Top achievements
Rank 1
Pawel asked on 29 Apr 2014, 08:03 AM
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 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 29 Apr 2014, 08:32 AM
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.
 
0
Pawel
Top achievements
Rank 1
answered on 29 Apr 2014, 09:32 AM
Thank you very much.
Tags
GridView
Asked by
Pawel
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Pawel
Top achievements
Rank 1
Share this question
or