Hi and thanks Igor.
 
I think I haven't understand what you said.
 
outerDocument is used inside the itemRenderer, but what I want to do is just the opposite, in the main app update the renderer "value". I update the data provider and when I do that I need the numericstepper to be updated too.
If I could detect changes on the dataprovider I could use outerdocument inside the renderer.
 
so, ¿how?
 
Thanks again.
 
 
 


De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Igor Costa
Enviado el: miércoles, 25 de octubre de 2006 13:19
Para: flexcoders@yahoogroups.com
Asunto: Re: [flexcoders] update an itemrenderer from outside

Jesus

you have to create a function to do that, but in the case of update the grid after you change in the numeric stepper you just have an a scope problem. To acess a member outside an itemrender you have to choose the item " outerDocument.functionyouCreate()" in the tigger click.

So, that's you need.

Regards.

On 10/24/06, Jesús Iglesias < [EMAIL PROTECTED]> wrote:

Hi again,
 
I have a datagrid with a numericstepper as itemrenderer. What I need todo is the opposite of the traditional change method, instead of clicking the numericstepper, I have to update de datagrid's dataprovider and have the numericstepper updated as it's field change.
 
¿How to update the itemrenderer when you change the dataprovider?
¿how to tell the numericstepper to update value property?
 
I have tried dataChange property of the itemrenderer but it seems it's not what i'm looking for.
 
Thanks again...
Jesus




--
----------------------------
Igor Costa
www.igorcosta.com __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to