How can you offer the user the ability to undo any changes they've made to
the data in a datagrid? I've got an editable datagrid with an
ArrayCollection as the dataprovider. In my init I create a copy of the
ArrayCollection before they user has made any changes. Then when they click
the "Cancel Changes" button I want the data to go back to the pristine copy.
I've tried replacing the dataprovider's arraycollection with a deep copy of
the pristine copy (by using "mx.utils.ObjectUtil.copy( contentItemsBackup )
as ArrayCollection") but that didn't work. Suggestions?

-- 
Howard Fore, [EMAIL PROTECTED]
"The universe tends toward maximum irony. Don't push it." - Jeff Atwood

Reply via email to