efficient iTune-style filter
efficient iTune-style filter
- Subject: efficient iTune-style filter
- From: Jake <email@hidden>
- Date: Sun, 28 Oct 2001 02:04:31 -0500 (EST)
What is the best way to implement an iTune-style list filter? I
understand that one need to write a custom formatter and use
"isPartialStringValid" as a trigger as each character is typed. However,
in order to avoid unnecessary overhead. I would like to only perform the
final search and list action once the user has "finished" typing. eg.
instead of performing search for a, ap, app, appl, apple, i would like to
only perform the search "apple". I can try to use a data variable to track
the time elapsed, and compare with the last key to see if sufficient time
has expired. However, I was wondering if there is a more elegant
solution to this.
Thanks.
Jake