[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-28 Thread george_lui
Just sharing the solution I got for this with Flex Support. I basically just used the labelFunction attribute. function formatName( item ) : String { return item.firstName + " " + item.lastName; } I still wondering why the cellRenderer solution didn't work. cheers, George ---

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread george_lui
Thanx, however the link doesn't work (500 err). Would you have an example of your own you can share? thx, George --- In flexcoders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote: > > quite surprising this didn't work for you. i took this idea from > Peter Ent's weblogs. check out the ce

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread bhaq1972
com/2005/mxml"; xmlns="*" verticalGap="0" >hScrollPolicy="off" vScrollPolicy="off" > > > > > > > > > > > > > ----- Original Messa

Re: [flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread Anatole Tartakovsky
om: bhaq1972 To: flexcoders@yahoogroups.com Sent: Wednesday, February 22, 2006 10:21 AM Subject: [flexcoders] Re: problem with cell renderer in ComboBox --- In flexcoders@yahoogroups.com, "Anatole Tartakovsky" <[EMAIL PROTECTED]> wrote:>> As far as

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread bhaq1972
--- In flexcoders@yahoogroups.com, "Anatole Tartakovsky" <[EMAIL PROTECTED]> wrote: > > As far as I recall, dropdown object can be "dropped" and recreated when the data model and other things change. If you do not reassign cellrenderer at that time it will be gone. It would make sense to me to

Re: [flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread Anatole Tartakovsky
enderer on each call or at least when dropdown was not defined at the time of the call. Thank you, Anatole - Original Message - From: bhaq1972 To: flexcoders@yahoogroups.com Sent: Wednesday, February 22, 2006 4:00 AM Subject: [flexcoders] Re: problem with cell r

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread bhaq1972
quite surprising this didn't work for you. i took this idea from Peter Ent's weblogs. check out the cellrenders section http://weblogs.macromedia.com/pent/archives/2004/12/index.cfm the code can be downloaded and there is a sample test app to see it in action. its very good. --- In flexcoders

RE: [flexcoders] Re: problem with cell renderer in ComboBox

2006-02-21 Thread Matt Chotin
I'm > almost positive variableRowHeight also isn't going to work. > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of george_lui > Sent: Friday, February 17, 2006 11:10 AM > To: flexcoders@yahoogroups.com >

RE: [flexcoders] Re: problem with cell renderer in ComboBox

2006-02-21 Thread Matt Chotin
lf Of bhaq1972 Sent: Monday, February 20, 2006 1:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: problem with cell renderer in ComboBox i would also like to see the dropdown property made into a 'Read/Write'. i had to override the getDropdown() method which gave me probl

RE: [flexcoders] Re: problem with cell renderer in ComboBox

2006-02-21 Thread Matt Chotin
lf Of bhaq1972 Sent: Monday, February 20, 2006 1:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: problem with cell renderer in ComboBox i would also like to see the dropdown property made into a 'Read/Write'. i had to override the getDropdown() method which gave me probl

RE: [flexcoders] Re: problem with cell renderer in ComboBox

2006-02-21 Thread Matt Chotin
: [flexcoders] Re: problem with cell renderer in ComboBox   Matt,     Is there any date/special area we can use to download the source? That would definetly simplify the "overriding". Thank you, Anatole - Original Message - From: Matt Choti

Re: [flexcoders] Re: problem with cell renderer in ComboBox

2006-02-21 Thread Anatole Tartakovsky
1:57 PM Subject: RE: [flexcoders] Re: problem with cell renderer in ComboBox I’ll file a request for the dropdown but I don’t know the reasons behind its structure.  You can at least use ComboBase as a starting point if List won’t cut it for you.  As for introducing more interfac

RE: [flexcoders] Re: problem with cell renderer in ComboBox

2006-02-21 Thread Matt Chotin
, 2006 7:26 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: problem with cell renderer in ComboBox   Matt,     Is it possible to downgrade ComboBox::dropdown property in the next beta/final release to ListBase so the subclassing/ability to show more complex dropdowns is

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-21 Thread george_lui
7;m > almost positive variableRowHeight also isn't going to work. > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of george_lui > Sent: Friday, February 17, 2006 11:10 AM > To: flexcoders@yahoogroups.com > Subject:

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-21 Thread george_lui
I don't see how this was terribly different from the original code. But I tried it anyways and it doesn't work. thanx anyways, geo --- In flexcoders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote: > > why dont you simplify things a bit. put your FullNameRenderer into > the same folder l

Re: [flexcoders] Re: problem with cell renderer in ComboBox

2006-02-20 Thread Anatole Tartakovsky
    - Original Message - From: bhaq1972 To: flexcoders@yahoogroups.com Sent: Monday, February 20, 2006 4:52 AM Subject: [flexcoders] Re: problem with cell renderer in ComboBox i would also like to see the dropdown property made into a 'Read/Write&

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-20 Thread bhaq1972
ime consuming for control development and can be showstopper for 3rd party controls. > > Sincerely, > Anatole > > - Original Message - > From: Matt Chotin > To: flexcoders@yahoogroups.com > Sent: Sunday, February 19, 2006 1:16 AM > Subj

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-20 Thread bhaq1972
why dont you simplify things a bit. put your FullNameRenderer into the same folder location as your ComboBox mxml application. and do this function test(event){ event.target.dropdown.cellRenderer = FullNameRenderer; } --- In flexcoders@yahoogroups.com, "george_lui" <[EMAIL PROTECTED]> wrot

Re: [flexcoders] Re: problem with cell renderer in ComboBox

2006-02-19 Thread Anatole Tartakovsky
, Anatole   - Original Message - From: Matt Chotin To: flexcoders@yahoogroups.com Sent: Sunday, February 19, 2006 1:16 AM Subject: RE: [flexcoders] Re: problem with cell renderer in ComboBox labelField isn't necessary if you have a cell renderer.  Any c

RE: [flexcoders] Re: problem with cell renderer in ComboBox

2006-02-18 Thread Matt Chotin
PROTECTED] On Behalf Of george_lui Sent: Friday, February 17, 2006 11:10 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: problem with cell renderer in ComboBox good call, but it didn't work. Really weird. Do you think I still need the labelField attribute? TIA, George --- In f

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-17 Thread george_lui
good call, but it didn't work. Really weird. Do you think I still need the labelField attribute? TIA, George --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote: > > What if you take out the quotes around the renderer? > > -Original Message- > From: flexcoders@ya

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-17 Thread george_lui
Y'know I just did a blind copy&paste from some other guy in this group. But yeah, I don't see no getDropdown() method in the api docs. Just the dropdown property. I did try your setting it to the property and it still didn't work :( thanx, george --- In flexcoders@yahoogroups.com, "Doug Lowder

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-16 Thread Doug Lowder
Hi, I'm not familiar with getDropdown(). Is getDropdown() a valid method of your combobox? If not, try "event.target.dropdown." instead of "event.target.getDropdown().". Doug --- In flexcoders@yahoogroups.com, "george_lui" <[EMAIL PROTECTED]> wrote: > > Hi, > > I had a cellrenderer t