I currently have a list of 16,700 companies. Some are duplicates but that is 
still a long list.
 
I like the auto complete combo box idea. 
 
I think I have enough to get started with Mike's code and the Ext JS site.
 
Thanks to everyone for your input.
 
Handling this UI functionality is actually pretty important in making a web app 
user friendly especially when you have a large number of items your trying to 
display. 
 
I thought about just having links across the top of the page. Just the 
letters from A to Z and then use that to filter the items in the combo box but 
the "auto complete" solution is a bit more elegant. 
 
-Eddie
 
 


--- On Thu, 7/10/08, Aaron Rouse <[EMAIL PROTECTED]> wrote:

From: Aaron Rouse <[EMAIL PROTECTED]>
Subject: [houcfug] Re: Ajax
To: [email protected]
Date: Thursday, July 10, 2008, 9:12 PM


One thing though I have not seen any combo box solutions in jQuery that I 
liked.  I like the one on the ext site but have not used it:

http://extjs.com/deploy/dev/examples/samples.html

Somewhere in my archives I have one that I did a couple years ago that worked 
out pretty well. Been planning to dig it up and integrate it into our in-house 
framework.  That one would only let you select one from a pre-select list but 
it was a combobox in that you could type and it would give you a drop down with 
20 or so possible matches and it would shorten that as you typed more or you 
could scroll it if there were more than 20.

By the list being "enormous" how many records are you talking about here and is 
it an Intranet or Internet site?  I'd really lean towards using the data within 
the same page if at all possible v. running queries for every lookup when doing 
a combobox.  That is just a personal preference of mine though, most people do 
the multiple query route.


On Thu, Jul 10, 2008 at 4:14 PM, Ken Auenson, II <[EMAIL PROTECTED]> wrote:


Eddie:
The version I showed off was done by hand and it was very ugly code.
If no-one comes back with a good link, I will take some of the JQuery stuff I 
have been working with lately and write up an example as a blog post and reply 
back here.
It won't be until tomorrow, tho... I am a bit sick and not working too much 
today.
 
I like Aaron's idea, too... so instead of the user selecting B in a first drop 
down, they just type it into the input box and all the "B"s get pulled into a 
drop down.
 
--
Ken




On Thu, Jul 10, 2008 at 3:52 PM, Aaron Rouse <[EMAIL PROTECTED]> wrote:


I do not know of any sites offhand but I have been using jQuery for this type 
of stuff with good success.  I like how there is a plugin to give you most of 
the CF functions but in JS.  Also been using AjaxCFC  with it even though I 
think it never got out of Alpha or Beta version.  Honestly not really sure I 
even need AjaxCFC for what I am doing but got in the habit early on so stuck 
with it.

Why don't you do some sort of AutoComplete or Combobox? 



On Thu, Jul 10, 2008 at 2:59 PM, Eddie Pequeno <[EMAIL PROTECTED]> wrote:






Does anybody know any sites with good refrences to AJAX?
 
There is some built in Ajax functionallity with CF8 but I don't know if it's 
enough to do what I need. The cfajaxproxy looks quite promising though.
 
Here's what I'm trying to do: 
 
I'm putting a lot of Company names in a drop down. The list will be enormous so 
instead of having all the names, I will put only the letters A - Z . When a 
user selects the B for example, a box with the list of companies will pop open 
and be filterd to show only the companies that begin with the letter "B". Then 
the user can select form the filterd list.
 
I think I recall that Ken showed us something like this at one of our BeerFUGs 
a while back.
 
-Eddie
 
 
 
 





-- 

Aaron Rouse
http://www.happyhacker.com/ 












-- 
Aaron Rouse
http://www.happyhacker.com/




      
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to [EMAIL PROTECTED]
For more options, visit http://groups.google.com/group/houcfug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to