Yeah... that code'll do that too :) It will get called initially and
then be called again any time productType is changed in your model
provided productType is bindable.
hth
Scott
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com
gur_sukh wrote:
No this is not the
The way I accomlished this was by sub-classing ComboBox, to take a value
as a parameter and set the selectedIndex accordingly. Ben Forta has an
example of this somewhere on his website.
Jeff
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of
You have to override the set dataProvider function and others - have you
actually looked at Ben's code? When the dataProvider is updated, the
'set value' does not. A comparison between the dataProvider value can be
done and set selectedIndex accordingly. Believe me, it works - I'm using
it in
I extend comboBox and raise a custom event when the data provider changes,
something like the code below,
Then listen for that event and set the selected index according to my needs (I
needed to do some calculations to get that, in my own situation).
hth,
Jim.
[Event(name=dataProviderChanged,
4 matches
Mail list logo