Thanks, Randy,

Ya I saw Abode's autocomplete text box (my attempt to use it as an
itemEditor is in the link I posted), and it is the closest to what I'm
desiring.  I'm using it above the list instead of as the itemEditor,
and you can type in the name, and it'll get added to the list when you
hit enter.  It might actually be more efficient for data entry this
way too.  But I'm curious whether you would be interested in sharing
your combo-modded version(s)?

T

--- In flexcoders@yahoogroups.com, "Randy Martin" <[EMAIL PROTECTED]> wrote:
>
> Check out the AutoComplete component from Adobe Exchange:
>  
> HYPERLINK
>
"http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=e
>
n_us&extid=1047291"http://www.adobe.com/cfusion/exchange/index.cfm?event=ext
> ensionDetail&loc=en_us&extid=1047291
>  
> I've been successful in extending this component to do several
variations of
> autocomplete comboboxes.
>  
> ~randy
>  
>  
> 
> 
>    _____  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Alex Harui
> Sent: Saturday, October 13, 2007 12:14 AM
> To: flexcoders@yahoogroups.com
> Subject: [SPAM] RE: [flexcoders] list with combo editor
> 
> 
> 
> 
> 
> 
> I'm pretty sure folks have done various parts of this ui.  I've seen
> questions about how to do the new blank row, and there's plenty of
questions
> about ComboBox renderers.  I don't have any examples for you, but
hopefully
> others will jump, but you may have to wait until Monday.
> 
> 
> 
> 
>    _____  
> 
> 
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Thomas Spellman
> Sent: Friday, October 12, 2007 6:11 PM
> To: [EMAIL PROTECTED]
> Subject: [flexcoders] list with combo editor
> 
> 
> 
> Hi All,
> 
> 
> 
> I've been struggling to understand how to make a custom component
that will
> behave like something I have in an Access GUI I did.  The control
allows you
> to add people to a "selected people" list by choosing from a list of
people.
> It needs to be a list or one column datagrid that is bound to a
> "SelectedPeople" collection of Person objects (or PersonID ints). 
It will
> always have one "blank" entry to use as a starting place to add another
> person.  When the user clicks on a "new" or existing row in the
list, they
> get a combobox which allows them to choose (or optionally type with
> autocompletion) to select the next person to be added to the list.  When
> they choose one, that Person object will be added to the
"SelectedPeople"
> collection, a new blank entry gets added to the list.  Here's a
screenshot
> from my existing Access GUI:
> 
> 
> 
>                 
> 
> 
> 
> 
> 
> I've been experimenting with ItemEditors and lists in Flex, but it's
just
> eluding me how to do this.  I've got something sort of working, but
it's not
> sweet:
> 
> 
> 
> HYPERLINK
>
"http://thosmos.com/develop/bin/Tests.html"http://thosmos.-com/develop/-bin/
> Tests.-html  (right click for source)
> 
> 
> 
> What I'm stuck on is 
> 
> 1.       How to get the object from the combobox datasource passed
back and
> added/updated in the data source for the selectedPeople list and
make that
> the selected item.  It seems to want to replace just the display
field of
> the currently selected item, rather than the item itself.
> 
> 2.       when the user clicks on an existing selection, how to make the
> combobox start with that person selected rather than starting from the
> beginning. 
> 
> 
> 
> I realize this may be a vague question, but any kind of details,
insight or
> general advice on an approach to take would be great.
> 
> 
> 
> T
> 
> 
> 
> 
> 
>  
> 
> 
> No virus found in this outgoing message.
> Checked by AVG. 
> Version: 7.5.488 / Virus Database: 269.14.9/1067 - Release Date:
10/12/2007
> 6:02 PM
>


Reply via email to