Hello -- I'm using CF+ Flex+ FDS to connect and modify data.
I am building a form that info is entered into, and then inserted
into my database using a the wizard CFCs to insert records. That
data is then displayed in a datagrid with the rest of the data in
the db. When I need to update the info, I select the record from
the datagrid and it populates my update form fields. However this
is as far as I can get. I do not know how to write the update
function to take the changed values of the update form and update
the db with these values.
I know the datagrid has an edit feature, however the field I
need to update is not going to be a column of this datagrid. So I
need to do it via a form where I can assign a value to the field.
Currently i am inserting and deleting records using dataServices
with an arrayCollection. Any help on an update function would be
Have your form elements update the associated model
(DG.selectedItem) field. On change is often good for this, or
focusOut. Perhaps flag the item as modified, so that you can loop
over the dataProvider to extract the modified rows.
Then send the modified rows to the server as an