On Friday, September 14, 2007 6:12 AM Andy Matthews said:

> Yesterday I asked on the list for suggestions on how to filter the
> contents of a table using an autocomplete type interface. Didn't get
> any answers so last night I wrote it myself.

I'm positive there is a plugin out there that does this. Did you check
the plugin repository?

> http://www.commadelimited.com/code/filter
> 
> I was wondering if I could get some of you gurus to take a quick peek
> at it and offer suggestions or critiques on what I could to to
> improve it. Any suggestions, no matter how small, will be
> appreciated. It's the only way I'm going to improve.   

It should filter based on any part of the tring. Typing "abed" doesn't
get any results but it should because there is "Jonathan Abed".

Also I think it tries to filter too quickly. Since it's a bit slow (I
don't know if that can be rememedied through improved code), don't
filter on each keypress (which it seems to be doing). Instead, have it
wait for 500ms or so after each keypress to capture the next one before
filtering starts.



Chris.

Reply via email to