Hi,There is a cell in a swftable which is getting displayed as a link. I need to click on the link.
I have captured the BandName using
val = obj.GetNaProperty("DisplayLayouts.Bands[1].Columns[2].Header.Caption") and the used obj.OpenLink "19", val,"Applied", Href .... i dont know how to find the Href value.
I also tried obj.SelectCell "19",val
Both the above methods didnt work for me. Can anyone help me on this.
Ravindra,
I am looking into this for you and I will get back to you as soon as I have figured this out.
You should be able to do something like this. Let's say you have activated a cell whose column key is "Url" in the fifth row of the grid with this line:
SwfWindow("Setting Color of URL").SwfTable("ultraGrid1").ActivateCell "4", "Url"
Now you can get the URL in that cell like this:
Dim link
link = SwfWindow("Setting Color of URL").SwfTable("ultraGrid1").GetNAProperty("ActiveCell.Text")
Now you can open the link like this:
SwfWindow("Setting Color of URL").SwfTable("ultraGrid1").OpenLink"4", "Url", link, link
Try that and let me know if it works for you.