Hello Jesus,

 

you will certainly experience this kind of behaviours not just with numericStepper or Datagrid, but with all the components that use the data property.  A thing you can try is to making a binding between the data property and a set Function.  In this case, when the data property is changed, you can assign this value to another property.  The same way, don’t forget that you can call a refresh() in the ArrayCollection objects to update the bindings.

 

Saludos!!!

 

Roberto Frias

[EMAIL PROTECTED]asys.de

 


Von: [email protected] [mailto:[email protected]] Im Auftrag von Jesús Iglesias
Gesendet: Freitag, 27. Oktober 2006 10:22
An: [email protected]
Betreff: [flexcoders] update itemRenderer value when dataprovider change

 

Hi,

 

I have a datagrid with a numericstepper as itemrenderer and an ArrayCollection as dataProvicer.

Although you can change the corresponding value of the ArrayCollection when clicking numericStepper, this  values can change with external events too. So, when I modify the value on the Array collection, I need the numeric stepper to be updated to that value, but I don't know how to detect changes to listData.

I tried also distpaching a FlexEvent.DATA_CHANGE but nothing happens. ArayCollection is well updated, if y click on datagrid headers to order, all values are updated fine. I only need how to update the itemrenderer.

 

Please help!!!

 

Thanks.


Jesús Iglesias
Alvento Soluciones Móviles
Poeta Querol, 5 - 2
46002 Valencia (España)
[tel]: (+34) 96.353.02.15
[fax]: (+34) 96.353.08.09
[e-mail]:
[EMAIL PROTECTED]com
[web]: www.alvento.com

 

Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios y propiedad de Alvento Soluciones S.A. Queda prohibida su divulgación, copia o distribución a terceros sin la previa autorización escrita de Alvento Soluciones S.A., en virtud de la legislación vigente. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente y la destrucción del mismo.

 


The information in this e-mail and in any attachments is classified as Alvento Soluciones S.A. Confidential and Proprietary Information and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Alvento Soluciones S.A. and it is strictly prohibited by law. If you have received this communication by error, please, notify the sender by replying e-mail.

 

__._,_.___

--
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