Hi Andi,

That's pretty wierd behavior.  I'm not exactly sure what to tell
you.  Except, that it looks like the data that is bound to the
dataGrid is being updated by the button click, but isn't getting
rendered by the screen.  Although I'm sure there is a better way,
you could give the dataGrid an id (id="dataGrid1") and place
dataGrid1.updateControl(); after you change the name in the
doChangeData1(); function.  This might just be a glitch that will be
fixed by final release.

Best,
Tim Hoff

--- In [email protected], Andrea Varga <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> Here I have another problem with DataGrid:
> http://virtualro.co.uk/~andi/flex/datagrid/2/Test2.html
> (View Source enabled)
>
> The Change button adds some characters to the first element of the
> DataProvider. But the DataGrid does not refresh its content
accordingly.
> The Add button adds a new element to the DataProvider. This time
the
> DataGrid refreshes, the new element is there, and even the changes
made
> before are visible.
> What an I missing? Why doesn't my changes show up in the DataGrid?
>
> Thanks,
> Andi
>







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




Reply via email to