2 Replies Latest reply on Jun 20, 2007 5:10 PM by mFlexDev

    Datagrid Header and Data in different XML

    mFlexDev
      Hi ,
      I have the header info and the actual data in two different xml. How to display the header and the data in datagid in that condition.

      Find below the header and the data xml.

      header info
      <INFO_HEADER >
      <INFO ID="0" NAME=" Trend" />
      <INFO ID="1" NAME=" Name" />
      <INFO ID="2" NAME=" Value" />
      <INFO ID="3" NAME=" Value - Previous " />
      <INFO ID="4" NAME="Change" />
      <INFO ID="5" NAME="Latest Period" />
      <INFO ID="6" NAME="Previous Period" />
      <INFO ID="7" NAME="% Variance from Goal" />
      <INFO ID="8" NAME="% Achievement of Goal" />
      </INFO_HEADER>

      Actual Row Data
      =============
      <ROW >
      <INFO ID="0" VALUE="red" />
      <INFO ID="1" VALUE="FRR2 on IDC for Teams"/>
      <INFO ID="2" VALUE="0.27"/>
      <INFO ID="3" VALUE="0.11"/>
      <INFO ID="4" VALUE="0.16"/>
      <INFO ID="5" VALUE="4/1/07"/>
      <INFO ID="6" VALUE="3/1/07"/>
      <INFO ID="7"/>
      <INFO ID="8"/>
      </ROW>
      <ROW >
      <INFO ID="0" VALUE="red" />
      <INFO ID="1" VALUE="Sum of Dev Closedtested on IDC for Teams"/>
      <INFO ID="2" VALUE="107"/>
      <INFO ID="3" VALUE="108"/>
      <INFO ID="4" VALUE="-1"/>
      <INFO ID="5" VALUE="4/1/07"/>
      <INFO ID="6" VALUE="3/1/07"/>
      <INFO ID="7"/>
      <INFO ID="8"/>
      </ROW>
      <ROW >
      <INFO ID="0" VALUE="red" />
      <INFO ID="1" VALUE="Sum of Dev Leave Fnt Other on IDC for Teams"/>
      <INFO ID="2" VALUE="39"/>
      <INFO ID="3" VALUE="13"/>
      <INFO ID="4" VALUE="26"/>
      <INFO ID="5" VALUE="4/1/07"/>
      <INFO ID="6" VALUE="3/1/07"/>
      <INFO ID="7"/>
      <INFO ID="8"/>
      </ROW>

      can i combine both and create a new xml to take care of this??


      Please help me.

      Regards
      mflex