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

Filter distinct values disappear

2 Answers 36 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Forest
Top achievements
Rank 1
Forest asked on 27 Feb 2013, 06:10 PM
Hello,

I've got a problem with GridView filter.

I'm creating the columns dynamically.
The colums are binding with a complex type i've created. So i'm using a converter in order to display a string into cells.
The column DataType is my custom type "MyType", which respect the implementation of IComparable.

Opening Filter is OK.
Select a value apply the filter, BUT all distinct values disappear.
Have you got  an idea please ?   Thanks a lot.

Mathieu
dataColumn.DataType = typeof(MyType);

2 Answers, 1 is accepted

Sort by
0
BONIN
Top achievements
Rank 1
answered on 15 May 2014, 12:26 PM
No idea ?
0
Dimitrina
Telerik team
answered on 15 May 2014, 02:03 PM
Hi,

May I ask you to test with the latest version? Does your custom class offer a TypeConverter?

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
Forest
Top achievements
Rank 1
Answers by
BONIN
Top achievements
Rank 1
Dimitrina
Telerik team
Share this question
or