Hi,
in our application we have a Swf tree view (grid view), as you see in the attached screenshot, we need to pull the data from the third column ie. the "Claimant", is it possible to pull the value. We tried the following code
set tree = swfwindow("window").swftree("tree")
tree.getcelldata("\Individual\name1\Activity\","Colum3")
and it tell to check whether the node is available or not
Is it possible to use the Columnmove function to move the third column to the first, since the first column retrives a balnk value.
thanks in advance
Hello,
Yes I am assuming by pull the data you mean that you want to get or retrieve the data from the cell. In which case, as long as you are using TestAdvantage of the matching version to your NetAdvantage then you should be able to use:
' Tree.GetCellData(sNodeId, sCellKey) x = Tree.GetCellData("\74", "Column5")msgbox x
As to moving a column this should also be viable via :
' Tree.MoveColumn sColumnSet, sColumn, iOriginX, iOriginYTree.MoveColumn "","Claimant", "0","0"
I hope this helps you with what you are trying to do
Thanks for the reply, i tried out the steps you said,
for retrieve the data from the cell, i am getting an error as "No Node with the specified Text Property".
Can you provides us with more info on the "nodeid" and the "cellkey", so that we can try other possibilities.
and for moving the column we are getting an error as "Tree does not have column set with empty key"