[SOLVED] Filtering working only after first 3 chars?

[SOLVED] Filtering working only after first 3 chars?

MrBaseball34MrBaseball34 Posts: 96Questions: 0Answers: 0
edited May 2010 in General
Why does the filtering work with the first 2 NUMERIC characters but you must enter 3 ALPHA cahras for the filtering to work?

Where would I find that?

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    Filtering will work on every key press in DataTables. Try typing a 'z' in the demo for example: http://datatables.net/ . I would guess that your data is being matched on the first two input characters. Have you HTML which needs to be stripped? http://datatables.net/examples/advanced_init/html_sort.html (works for filtering as well as sorting).

    Allan
  • MrBaseball34MrBaseball34 Posts: 96Questions: 0Answers: 0
    I have no HTML in any of the returned columns.
    Also, no product shows with the search term if I only type 2 alpha chars.
  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    I'm going to need a little more to go on than that :-) As you'll be able to see from my home page example, it is doing filtering on each key press. Perhaps you can post a link to an example showing the problem please?

    Allan
This discussion has been closed.