Results 1 to 2 of 2

Thread: filter the search in the drop down control

  1. #1

    Exclamation filter the search in the drop down control

    I want to parse the filter search in the drop down control. My control list contains emaild id with displayname from drop down in following format,
    e.g. "Abc Xyz" <[email protected]>
    But to show in this format i need to encode it.So it becomes
    "Abc Xyz" &lt;[email protected]&gt;

    I have overriden the doQuery to customize this search for display name as well as email id.In doQuery i used RegEx object as folllows
    HTML Code:
    var qr = new RegExp('\\b' + q , "i");
     this.store.filter(this.displayField, qr);
    As the store has encoded values it gives all the result when i press any one of the following characters "g,t,l,;"

    Here i just want a regex expression that will ignore the strings &it; and &gt; when we in the doquery method and will satisfy above requirement.

  2. #2

    Question

    can anybody will solve this problem....?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •