I do call arraycollection.refresh() afterwards. However, the DG only
updates when you click the panel that contains it, instead of
immediately.
--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]>
wrote:
>
> Are you using the ArrayCollection API to update it? This should
cause
> the DG to update automatically.
>
> Tracy
>
> -----Original Message-----
> From: [email protected]
> [mailto:[EMAIL PROTECTED] On Behalf Of phdcpe01
> Sent: Saturday, August 04, 2007 2:36 PM
> To: [email protected]
> Subject: [flexcomponents] Datagrid Update
>
> Hello,
> I've got two datagrids, myGrid1 and myGrid2. Basically, the user
can
> select a row in myGrid1, and it'll show up in myGrid2. I am using
an
> arraycollection as the dataprovider for myGrid2. Selecting the
checkbox
> in myGrid1 properly adds the corresponding row to the
arraycollection.
> However, this isn't reflected in myGrid2 unless you click on it, or
> some other window moves in front of it. How can I make myGrid2
update
> each time there's a change to the arraycollection?
>
>
>
>
> Yahoo! Groups Links
>