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

combobox enhanced filter

1 Answer 55 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Roger
Top achievements
Rank 1
Roger asked on 12 Dec 2012, 07:21 PM
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?

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 13 Dec 2012, 12:55 PM
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!
Tags
ComboBox
Asked by
Roger
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or