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
---
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
com/2005/mxml"; xmlns="*"
verticalGap="0"
>hScrollPolicy="off" vScrollPolicy="off" >
>
>
>
>
>
>
>
>
>
>
>
> ----- Original Messa
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
--- 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
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
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
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
>
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
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
: [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
1:57
PM
Subject: RE: [flexcoders] Re: problem
with cell renderer in ComboBox
Ill file a request
for the dropdown but I dont know the reasons behind its structure. You
can at least use ComboBase as a starting point if List wont cut it for
you. As for introducing more interfac
, 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
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:
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
- 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&
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
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
,
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
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
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
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
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
23 matches
Mail list logo