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

GetDistinctValues returns empty?

1 Answer 53 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Idan
Top achievements
Rank 1
Idan asked on 13 Aug 2014, 01:04 PM
I'm trying to get all distinct values of a column but keep getting an empty collection.

I'm using this code:
IEnumerable values = radGridView.GetDistinctValues(radGridView.Columns[0], false);


any idea?

thanks

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 13 Aug 2014, 01:39 PM
Hi,

It seems that there are no values to be resolved. Would you please share more information on what your ItemsSource is? What the property bound to the column is? Does filtering using the field filters works fine?

You can also check the Filtering section in our documentation.

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.
 
Tags
GridView
Asked by
Idan
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or