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

Unable to Filter on CHAR column

4 Answers 111 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 14 Apr 2008, 09:07 PM
I have a RadGrid bound to a collection, the collection has integer, strings and char datatypes.  I can group by all these nor problem and I can filter with the integer and strings however using the CHAR and equalto does not work.

I have one column that contains either a V or an O (for Vacant or Occupied) when I attempt to filter by V and EqualTo I still get both V and O items, I tried using O and greater then to just get the V no luck still get them all.  However I can drag the column to the group by bar and it groups the items correctly.

(I have set the datatype for the column to System.Char)

4 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 15 Apr 2008, 06:44 AM
Hi John,

Unfortunately you are right - we have fixed this immediately and the fix will be included in the upcoming Q1 2008 release.

Best wishes,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
John
Top achievements
Rank 1
answered on 15 Apr 2008, 12:58 PM
Thanks for the quick reply.  I am still demoing this to folks at my new place of employment and hope that things like this, identifing and fixing product quickly helps me convince them to use your controls.

  
0
Paul
Top achievements
Rank 1
answered on 23 May 2011, 11:31 AM
Unfortunately this problem  is back again: I use Q1 2011 Winforms RadGridVew and experience the problem described above.
Please advice!
TIA, Paul
0
Svett
Telerik team
answered on 26 May 2011, 09:06 AM
Hi Paul,

When we redesigned the RadGridView in Q2 2010, we missed to add some operators in the filter context menu. Nevertheless, you can perform filtering programmatically by adding instance of FilterDescriptor class:

FilterDescriptor descriptor = new FilterDescriptor("Symbol", FilterOperator.IsEqualTo, "A");
this.radGridView1.FilterDescriptors.Add(descriptor);

We will address the missing filter operator in the next major release (Q2 2011).

Regards,
Svett
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Vlad
Telerik team
John
Top achievements
Rank 1
Paul
Top achievements
Rank 1
Svett
Telerik team
Share this question
or