Hi,

I have the feeling I'm being very stupid about something, but here goes.

I have a datagrid, myDatagrid, bound to a dataprovider, myData.  myData
is an ArrayCollection based on an xml list of data returned from a php
script with an httpservice call, but I don't think that should make a
difference.

Right now, the data is one column that is a checkbox.  By default, the
checkbox value is set to false.

If I click a checkbox and then iterate through myData, myData doesn't
reflect the change to the data.  Some of the things I was reading seemed
to suggest that myData should immediately reflect the changes made to
the data presented by myDatagrid.  I'm not sure that should be true
since it was only a one way binding from myData -> myDatagrid.

My ultimate goal is that when the user clicks the submit button, I get
only the records in myDatagrid that have changed.  By the time the app
is done there may be hundreds of rows of records with up to 10 fields.
If I have to build the iteration, that's fine, but I'm also not seeing
how to iterate through myDatagrid.  Ideally,
myDatagrid[rownumber][columned] would be great, but reading through the
help I can't see what property of the datagrid let's me access the array
of data.

Thanks for any suggestions you can give me!

Bob

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Even a man who is pure in heart
and says his prayers by night
may become a wolf when the wolfbane blooms
and the autumn moon is bright. 
                Maleva (Maria Ouspenskaya) The Wolf Man
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Reply via email to