Forum Discussion

abhagwat's avatar
abhagwat
Occasional Contributor
13 years ago

Value property shows only partial data within the object displayed on the screen

Problem

I am trying to get a whole XML String(which is embedded within flex object). This xml string basically represents multiple rows and columns.



Something like this


result


<root>

  <trade count="245">

Row 1



    <row idx="01-268" meID="1" transactionTime="10:20:22.572463" symbol="CHI" firmConnectionBuy="TFXH-01" firmConnectionSell="TFXH-01" book="N01E40" buyBehalf="TFXH" buyGiveUp="TFXC" buyBadgeNo="" buyOrderID="01-1443" buyTANum="00012C" buyRid="" buyDBKLink="5" buyClOrdID="OMS 0521/04252012" sellBehalf="TFXH" sellGiveUp="TFXC" sellBadgeNo="" sellOrderID="01-1453" sellTANum="00012M" sellRid="" sellDBKLink="5" sellClOrdID="OMS 0522/04252012" lastShare="50" lastPx="10.05" dLastPx="0.000000" executionBroker=" " dealDBKLink="5" pxScale="4" buyBillInd="2" sellBillInd="1" execAwayMktInd="undefined" mMID="          " buyBillingRate="2/2" sellBillingRate="1/1" nationalBid="10" nationalAsk="10.1" rndQty="0" rounded="0" profitLoss="0" buyOrSellBehalf="[TFXH][TFXH]" buyOrSellGiveup="[TFXC][TFXC]" buyOrSellBadge="[][]" buyOrSellTaNum="[00012C][00012M]" buyOrSellRidNum="[][]" buyOrSellClOrdID="[OMS 0521/04252012][OMS 0522/04252012]" busted="N" bustedFlag="false" Changed="false"/>



Row 2

    <row idx="01-267" meID="1" transactionTime="10:20:20.254014" symbol="CHI" firmConnectionBuy="TFXH-01" firmConnectionSell="TFXH-01" book="N01E40" buyBehalf="TFXH" buyGiveUp="TFXC" buyBadgeNo="" buyOrderID="01-1443" buyTANum="00012C" buyRid="" buyDBKLink="5" buyClOrdID="OMS 0521/04252012" sellBehalf="TFXH" sellGiveUp="TFXC" sellBadgeNo="1234" sellOrderID="01-1439" sellTANum="000128" sellRid="" sellDBKLink="4" sellClOrdID="OMS 0518/04252012" lastShare="500" lastPx="10.05" dLastPx="0.000000" executionBroker=" " dealDBKLink="4" pxScale="4" buyBillInd="1" sellBillInd="1" execAwayMktInd="undefined" mMID="          " buyBillingRate="1/2" sellBillingRate="1/0" nationalBid="0" nationalAsk="10000" rndQty="0" rounded="0" profitLoss="0" buyOrSellBehalf="[TFXH][TFXH]" buyOrSellGiveup="[TFXC][TFXC]" buyOrSellBadge="[][1234]" buyOrSellTaNum="[00012C][000128]" buyOrSellRidNum="[][]" buyOrSellClOrdID="[OMS 0521/04252012][OMS 0518/04252012]" busted="N" bustedFlag="false" Changed="false"/>

      </trade>

</root>



But in when i do



a = GridFlexobject.dataprovider.source.value i only get Row 1 above .



How tp get both the rows in a variable. I need to parse this xml for results.

3 Replies

  • Hi Amit,



    I found another example of AdvancedDataGrid here. The dataprovider.source.value property's value seems to show the whole XML source. So, I think that you have another version of the control, so I'll need to have an example of it to be able to assist you. Can you give us HTTP access to an example through the Internet? You can give us the access details within a support case submitted through our Contact Support form.
  • abhagwat's avatar
    abhagwat
    Occasional Contributor
    Hi Mike



    Can we have a webex session. As ours is an secured environment, it will be difficult for me to have my site have direct access to you  very soon(Although i am trying to get one).



    I think if i am able to see the whole xml string instead of partial, my problem will be resolved



    Thanks



    Amit
  • Hi Amit,



    We cannot arrange remote sessions on the Forum - please let's continue the conversation within the support ticket.