Use a custom item renderer and you can update the dataProvider any way you want. However, what is the logic that defines the connection between a dataProvider item property and a given cell?
Tracy Spratt, Lariat Services, development services available _____ From: [email protected] [mailto:[email protected]] On Behalf Of david lee Sent: Monday, August 03, 2009 8:08 PM To: [email protected] Subject: [flexcoders] AdvancedDataGrid and XML data synchronization ( dynamic datafield issue) I'm making kind of editor with AdavacedDataGrid (ADG) and TextArea. XML data in TextArea is dataProvider to ADG. So, If user change XML Data in TextArea ADG also updated. And if user change data using ADG, XML data in TextArea will be updated. If XML data is simple, this function is not so difficult. But I need to use little complex XML data with multi depth. Below XML is one of example. =========================================== <Data Max="30" Min="0" Name="DEVICE"/> <Data Max="20" Min="0" Name="MATL_CODE"/> <SubData SubMax="1" SubMin="1" SubName="DATA"> <Data Max="30" Min="0" Name="DEVICE1"/> <Data Max="20" Min="0" Name="MATL_CODE1"/> </SubData> =========================================== I'm showing all of attributes on ADG. But, As you see element name and attribute name is not fixed. So, if i set datafie...@max , when I change third row data third row will be updated as below. <SubData SubMax="1" SubMin="1" SubName="DATA" Max="30"> Is there any way to change SubMax="30" ? If I can set datafield dynamically, it would be solved. I need your idea on this, Thank you. -- View this message in context: http://www.nabble. <http://www.nabble.com/AdvancedDataGrid-and-XML-data-synchronization-%28-dyn amic-datafield-issue%29-tp24800294p24800294.html> com/AdvancedDataGrid-and-XML-data-synchronization-%28-dynamic-datafield-issu e%29-tp24800294p24800294.html Sent from the FlexCoders mailing list archive at Nabble.com.

