Sunday, March 28, 2010

How to implement autocomplete/autotype...

In my app:

User enters name in a textbox --%26gt; name is searched in an xml file which is external --%26gt; other fields from the xml file are displayed.

I want that as soon as user starts entering the name, suggestions should be displayed of similar entries in the xml file. The user can then just click on the correct name.

Any help would be great.

Thanks in advance.

Regards,

Pooja

How to implement autocomplete/autotype...

Here's the best Flex autocomplete component I've seen.?I have used it for working with remote db sources (XML should be about the same).?I've had to tweak it quite a bit, but far better than starting from scratch.

http://hillelcoren.com/flex-autocomplete/

How to implement autocomplete/autotype...

Hi Crissy84,

Thanks for the instant reply...looked at the demo...looks gud..downloading and trying it ot now...wud let u knw once its done.

Regards,

Pooja

Hi Crissy,

I am a newbie to Flex. I have downloaded the zip file and extracted it. Can you please tell me where should I place this component in order to use it in the program.

Thanks.

Check out our AutoCompleteComboBox:

http://www.flextras.com/?event=ProductHome%26amp;productID=10

Register at our site to download a no cost developer edition.?To use it, after you download, just add the swc file in the library path of your Flex project, then import the class as is.?[I expect that is the same is true for using Hillel's component]

Documentation and other samples are here:

http://www.flextras.com/?event=ProductDocumentation%26amp;ProductID=10

http://www.flextras.com/?event=ProductSamples%26amp;ProductID=10

If you have problems, let us know and we'll help you.?http://www.flextras.com/?event=ContactForm

to use the component you can place the source file (autocomplete.as, .mxml, etc) in your project structure and then you will have to go to project properties, build path, libraries tab and add the .swc file that should have come in the zip.

No comments:

Post a Comment