Flexgrid:- parse rows and cols and get cell value
Flexgrid:- parse rows and cols and get cell value.
Problem :- I am facing problem with respect to getting values from flex grid
Code i wrote :-
myvalue = aqObject.GetPropertyValue(Aliases.iexplore.UTM_HomePage.objectApp.mainMain1.canvasOrders.canvasOrderorders.dividedboxVdiv.orderdatagridOrdersgrid.FlexObject.dataProvider.source.item("2"),"Leaves")
msgbox myvalue
This produces error.
How do i parse cells via rows and columns of Flexgrid.
Dataprovider is [mx.collections::XMLListCollection object]. Source is represented as
"
I also tried using this code
a = Aliases.iexplore.UTM_HomePage.objectApp.mainMain1.canvasOrders.canvasOrderorders.dividedboxVdiv.orderdatagridOrdersgrid.FlexObject.dataProvider.source.value
<row idx="01-7902" meID="1" du="1" taNum="" clientOrderId="270" badgeNum="-1" agencyName="" rid="00V2M" status="Filled" tsTime="15:52:25.673758" symbol="JFP" side="Buy" broadSide="B" orderType="Limit" equoteType="" routeInst=" " size="1000" pxScale="4" price="10.01" dPrice="0.000000" delQty="0
which gives me XML Values in format mentioned here
looked at this post http://support.smartbear.com/viewarticle.aspx?aid=8970. However it seems that it does not assume dataprovider to be xmllist.
So two questions here.
How do i get cell values by referring rows,cols
Also is there any way to parse above pasted xml
Your help will be appreciated
Thanks
Amit