You can also try making the dataprovider point to a variable type of
ArrayCollection in a static class that used the [Bindable] tag (like
in Cairngorm's ModelLocator.as). Any changes to the items in this
variable will be instantly updated in the datagrid.

--- In flexcoders@yahoogroups.com, "jeremy lu" <[EMAIL PROTECTED]> wrote:
>
> try re-assigning the xml data source to Datagrid.dataProvider
>
> or call DataGrid.modelChangedHandler().
>
>
>
> On 5/11/06, jymy788 <[EMAIL PROTECTED]> wrote:
> >
> > Hi, only a question that it's very important to me:
> >
> > How can i refresh data in DataGrid?
> >
> > I have an xml data file in a xmModel. When i assign it to my datagrid
> > there is no problem but when i modify this xml file or when i rebuilt
> > it i can't refresh datagrid data that it's binding by dataprovider.
> >
> > An ideas?
> >
> > Any example to solve it please?
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
>






--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to