filter on hidden column

6 posts, 0 answers
  1. Megan Vee
    Megan Vee avatar
    40 posts
    Member since:
    Mar 2010

    Posted 04 May 2011 Link to this post

    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
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 04 May 2011 Link to this post

    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
  3. Megan Vee
    Megan Vee avatar
    40 posts
    Member since:
    Mar 2010

    Posted 05 May 2011 Link to this post

    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
  4. Almond
    Almond avatar
    43 posts
    Member since:
    Feb 2011

    Posted 06 May 2011 Link to this post

    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
  5. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 09 May 2011 Link to this post

    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
  6. Megan Vee
    Megan Vee avatar
    40 posts
    Member since:
    Mar 2010

    Posted 09 May 2011 Link to this post

    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 
Back to Top