Filter by multiple columns

3 posts, 0 answers
  1. Ignas
    Ignas avatar
    4 posts
    Member since:
    May 2012

    Posted 19 Feb 2013 Link to this post

    Hello,

    Is it possible to filter the autocompletebox by several columns? 
    And on the same topic - is it possible to use several columns in DisplayMemberPath (e.g. Artist + Song Name)?
  2. Ivo
    Admin
    Ivo avatar
    390 posts

    Posted 21 Feb 2013 Link to this post

    Hi Ignas,

    Filtering by several columns can be achieved by overriding the FilteringBehavior class. In order to use several properties for DisplayMemberPath you will have to set DropDownItemTemplate and BoxesItemTemplate. You can find attached a sample project demonstrating both approaches.

    Regards,
    Ivo
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Ignas
    Ignas avatar
    4 posts
    Member since:
    May 2012

    Posted 22 Feb 2013 Link to this post

    Thank you. 

    I also found that overriding ToString() method helps with managing the way the item is being displayed.
Back to Top