0 Replies Latest reply on Jul 14, 2010 2:58 PM by newtonianb

    Data into advanced datagrid, dynamic data, dynamic columns

    newtonianb

      How can I insert the following data into a datagrid, it is a dynamic xml which can have different number of Group.
      IMPORTANT: Imagine each datagrid has columns T,F,G,TPC,RPC and each datagrid get dynamically created for each group. Now imagine instead of multipel datagrids it is all presented in one single datagrid with that many columns horizontally.
      I already figured out how to dynamically create columns but now I don't know how to tell each column which GROUP data its supposed to read from.
      <RRCA xmlns:xsi="http://www.w3org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">   <GROUPS>     <GROUP Date="20100713" Code="456">       <RowsData>         <MDCRow T="3" F="0" G="0" TPC="100.00" RPC="100.00" Type="data"/>         <MDCRow T="0" F="0" G="0" TPC="0" RPC="0" Type="crashed"/>         <MDCRow T="3" F="0" G="0" TPC="100.00" RPC="100.00" Type="total"/>         <MDCRow T="73" F="0" G="0" TPC="100.00" RPC="100.00" Type="data"/>         <MDCRow T="73" F="0" G="0" TPC="100.00" RPC="100.00" Type="total"/>         <MDCRow T="22" F="0" G="0" TPC="100.00" RPC="100.00" Type="data"/>       </RowsData>     </GROUP>     <GROUP Date="20100710" Code="123">       <RowsData>         <MDCRow T="3" F="0" G="0" TPC="100.00" RPC="100.00" Type="data"/>         <MDCRow T="0" F="0" G="0" TPC="0" RPC="0" Type="crashed"/>         <MDCRow T="3" F="0" G="0" TPC="100.00" RPC="100.00" Type="total"/>         <MDCRow T="73" F="0" G="0" TPC="100.00" RPC="100.00" Type="data"/>         <MDCRow T="73" F="0" G="0" TPC="100.00" RPC="100.00" Type="total"/>         <MDCRow T="22" F="0" G="0" TPC="100.00" RPC="100.00" Type="data"/>       </RowsData>     </GROUP> </GROUPS>