PDA

View Full Version : Facebook-like autocomplete?



plightbo
18 Mar 2008, 6:12 PM
Has anyone thought about creating a clone of this Prototype component (which was itself a clone of a MooTools version). Would be _really_ nice for the Ext community! I started to take a stab at it, but it seems like a lot of work (and my prototype skills are sorely lacking).

http://www.interiders.com/2008/02/18/protomultiselect-02/

Alternatively, if someone knows of an effort like this already underway, please let me know.

garraS
18 Mar 2008, 6:26 PM
Very nice!

Thanks for share!

garraS

dawesi
18 Mar 2008, 10:23 PM
There was a discussion here:

http://extjs.com/forum/showthread.php?p=110335#post110335

onlysimchas
20 Mar 2008, 2:07 AM
I cooked together a quick and dirty example of a facebook-like search. The only problem is- i didn't have a good set of data to search, so I used the Yahoo search api and i search images.

The goals
1) Create a searcher that can highlight the substrings of your search text
2) Create an ext store and custom dataview for visualizing the selected search results
3) provide in that custom dataview a way to remove results from the store (delete)

Try it out...
http://www.jsloader.com/twiki/bin/view/AjaxCookbook/HowToCreateFacebookStyleSearch

It's on a wiki, just go in and improve it in the sandbox, if you like!

Dov

Gunmen
20 Mar 2008, 7:13 AM
Looks interesting. Nice to see what is possible with ExtJs. Good Work.