Re: [flexcoders] update an itemrenderer from outside
Jesusyou 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 asitemrenderer. 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 Costawww.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 __,_._,___
RE: [flexcoders] update an itemrenderer from outside
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 detectchanges 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 CostaEnviado el: miércoles, 25 de octubre de 2006 13:19Para: flexcoders@yahoogroups.comAsunto: Re: [flexcoders] update an itemrenderer from outside Jesusyou 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 asitemrenderer. 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 Costawww.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 __,_._,___
[flexcoders] update an itemrenderer from outside
Hi again, I have a datagrid with a numericstepper asitemrenderer. 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 __._,_.___ -- 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 __,_._,___