The grid is bound to an array of objects. I've tried adding blank
objects to force the combos in the renderers but no go. The grid item
returns blank but the combos still default to their original value from
the previously deleted item.

Stace

-----Original Message-----
From: Darron J. Schall [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 15, 2005 10:45 PM
To: [email protected]
Subject: Re: [flexcoders] Datagrid, Cellrenderer & Combos

Stacy Young wrote:

> Now, if a user were to delete a row then click 'add' for a new
row...the 
> combo's appear but they default to the value of the previous record 
> that was deleted! (as if the objects were not really destroyed) Adding

> a new row at any other time defaults normally.
>

What does the code for adding a new row look like? Are you adding a new 
object with properties explicitly set to default values? Like... 
dataProvider.addItem({prop1:"",prop2:17}); ?

-d



 
Yahoo! Groups Links



 





<table width=800 cellpadding=4 cellspacing=10 border=0><tr bgcolor=BDBDBD><td 
valign=top width=400><font face=verdana size=2 color=FFFFFF><b>AVIS 
IMPORTANT</b></font></td><td valign=top width=400><font face=verdana size=2 
color=FFFFFF><b>WARNING</b></font></td></tr><tr><td valign=top width=400><p 
align=justify><font face=verdana size=1 color=808080> Les informations 
contenues dans le present document et ses pieces jointes sont strictement 
confidentielles et reservees a l'usage de la (des) personne(s) a qui il est 
adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, 
distribution, copie, ou autre utilisation de ces informations est strictement 
prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait 
communiquer immediatement avec l'expediteur et detruire ce document sans en 
faire de copie sous quelque forme.</td><td valign=top width=400><p 
align=justify><font face=verdana size=1 color=808080> The information contained 
in this document and attachments is confidential and intended only for the 
person(s) named above. If you are not the intended recipient you are hereby 
notified that any disclosure, copying, distribution, or any other use of the 
information is strictly prohibited. If you have received this document by 
mistake, please notify the sender immediately and destroy this document and 
attachments without making any copy of any kind.</td></tr></table>



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to