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.com/AdvancedDataGrid-and-XML-data-synchronization-%28-dynamic-datafield-issue%29-tp24800294p24800294.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to