combobox enhanced filter

2 posts, 0 answers
  1. Roger
    Roger avatar
    14 posts
    Member since:
    Aug 2012

    Posted 12 Dec 2012 Link to this post

    The data source for my combo box contains 3 fields - the  usual text and value, along with an additional one - detail.
    Using the combobox template property like so:
       template: '${data.detail}'
    I am able to display the  enhanced item detail info info in the drop down menu, while displaying just the short text in the input field normally.   That's good, but the filter only applies to the field specified by dataTextField.

    With minor changes to the combobox code, I am able to support this by providing a new config option  dataSearchField (which I set to "detail") and then doing
    field = options.dataSearchField || options.dataTextField
    in the search and _filterSource functions of combobox.

    And that kind of works for me.   Better version would be to allow the dataSearchField to be a function or a field name.  But that would require much deeper changes.

    My question is - can/will this ability be added by kendo if requested, and what is the best way to submit such an enhancement request?

    Or, is there already some other way to achieve this functionality?
  2. Georgi Krustev
    Georgi Krustev avatar
    3725 posts

    Posted 13 Dec 2012 Link to this post

    Hello Roger,

    Thank you for your suggestion. You can share your thoughts as a uservoice item. Thus more people can cast their vote for this functionality.

    All the best,
    Georgi Krustev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top