Loading ...
Sorry, an error occurred while loading the content.

52401Re: [ydn-javascript] Autocomplete - highlight matched characters

Expand Messages
  • Dav Glass
    Feb 5, 2010
    • 0 Attachment
      This example shows how to do that:


      Dav Glass

      + Windows: n. - The most successful computer virus, ever. +
      + A computer without a Microsoft operating system is like a dog
         without bricks tied to its head +
      + A Microsoft Certified Systems Engineer is to computing what a
        McDonalds Certified Food Specialist is to fine cuisine  +

      On Fri, Feb 5, 2010 at 9:25 AM, rolfsf <rolfsf@...> wrote:

      I'm using autocomplete with a local datasource. I've got the following settings on it:

      myAutoComplete.applyLocalFilter = true;
      myAutoComplete.queryMatchContains = true;
      myAutoComplete.minQueryLength = 2;

      Is there a simple way to highlight the matched characters (ie. partial match) in the results list as the user types - perhaps as bold text

      if I've entered "hel" I might see: 

      Hello Kitty
      Oh Hell

    • Show all 2 messages in this topic