[flexcoders] datagrids and data changes

2007-10-31 Thread Ramsey, Robert L
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

Re: [flexcoders] datagrids and data changes

2007-10-31 Thread Scott Melby
I believe you need to include dataField and editorDataField on your column definition. For instance dataField=myBooleanProperty editorDataField=selected This should end up setting the myBooleanProperty property of the object in your data provider to the checkbox.selected state whenever it

RE: [flexcoders] datagrids and data changes

2007-10-31 Thread Nate Nielsen
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ramsey, Robert L Sent: Wednesday, October 31, 2007 9:09 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] datagrids and data changes Hi, I have the feeling I'm being very stupid about something, but here goes. I have a datagrid

Re: [flexcoders] datagrids and data changes

2007-10-31 Thread Edward Yakop
Since the previous question is already answered by Scott. I won't repeat the answer here. 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

Re: [flexcoders] datagrids and data changes

2007-10-31 Thread Scott Melby
That'd work... but I'd be more inclined to save off a copy of my initial data when I stick it in the ArrayCollection, then on submit walk the two collections seeing what changed. But, that's really just my preference. hth Scott Scott Melby Founder, Fast Lane Software LLC

RE: [flexcoders] datagrids and data changes

2007-10-31 Thread Ramsey, Robert L
Of Scott Melby Sent: Wednesday, October 31, 2007 9:15 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] datagrids and data changes I believe you need to include dataField and editorDataField on your column definition. For instance dataField=myBooleanProperty editorDataField=selected

RE: [flexcoders] datagrids and data changes

2007-10-31 Thread Ramsey, Robert L
:05 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] datagrids and data changes Thanks for all the information about the dataField and editorDataField properties, but I'm still screwing something up. The application is designed to let students decide if they want to tape a class