5

I am using Kendo Multiselect: http://dojo.telerik.com/EWiyo

In my demo I have three options in the select box, those are:

var data = [
            {Name: "Swiss Stock Exchange SIX", Id: 220},
            {Name: "Stock Exchange Oslo OBX", Id: 315},
            {Name: "Frankfurt Xetra", Id: 115}
          ];

Now typing "Swiss" finds the "Swiss Stock Exchange SIX"

BUT: Typing "SIX" does not find anything. I want to have a "full text search" rather than it just searching from the beginning of the textvalues.

I have found following but I am unsure how to implement this with kendo: Multiselect search whole string

Many thanks for the help

Community
  • 1
  • 1
DavidDunham
  • 1,245
  • 1
  • 22
  • 44

1 Answers1

13

Just add filter: "contains" to your multiselect options:

$("#multi").kendoMultiSelect({
    ...
    filter: "contains"
});
Gene R
  • 3,684
  • 2
  • 17
  • 27