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

filter on hidden column

5 Answers 57 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Megan Vee
Top achievements
Rank 1
Megan Vee asked on 04 May 2011, 03:18 PM
I am using the search as you type feature similar to this demo.
I would like the filter to also work on a hidden column.
Is this possible?
Also, the column is a number (ID) as opposed to the other filter columns (text).
Any pointers or examples?
Thanks, Megan

5 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 04 May 2011, 03:41 PM
Hi Megan Vee,

There should be no reason for you not to be able to do so. I am sending you a sample project illustrating the implementation based on the demo you refer to.  

Regards,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Megan Vee
Top achievements
Rank 1
answered on 05 May 2011, 11:09 AM
Thank you Maya. Is there a trick to getting the int column to filter as well as the string columns?
It doesn't seem to be the case by looking at your code.
My code is slightly more complicated and I have the string fields filtering just fine, but the int column just won't filter (I know it has to match the whole int length).
Is it worth creating a converter to convert the int to string?
Thanks for your help.
-Megan
0
Almond
Top achievements
Rank 1
answered on 06 May 2011, 08:06 AM
Hi Maya,

I really want to implement the inline search and i have been trying to do so for days now.  However, what i want to do is use the generated codes from the DomainServices.  Would it be possible to use it rather than creating a new view model of the tables?

I hope you could help me in my problem, I have been trying for almost 4days now.

Thanks in advance. :)

almond
0
Maya
Telerik team
answered on 09 May 2011, 12:38 PM
Hello Megan Vee,

The filtering will be applied to "int" values as well in case you enter the whole value - "25" opposed to "2". You may test the functionality on the sample attached. Considering your second post, I would need a bit more details about the exact goal you want to achieve. What is the exact scenario you want to accomplish ? How do you want it to differ from the project attached previously ?
 

Greetings,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Megan Vee
Top achievements
Rank 1
answered on 09 May 2011, 03:59 PM
Thanks for the reply, Maya.
My situation was slightly different because we wanted 2 different filter fields, one for all of the text columns, and one specifically for the ID.
i think I was trying to make things more difficult than needed by using two customfilterdescriptiors instead of just using a regular filter for the ID. I have it working now.
Thanks again for your help.
-Megan 
Tags
GridView
Asked by
Megan Vee
Top achievements
Rank 1
Answers by
Maya
Telerik team
Megan Vee
Top achievements
Rank 1
Almond
Top achievements
Rank 1
Share this question
or