Retrieving HTML Value for Link cell type

Hi,



Currently we are trying to retrieve the value which our grid is actually displaying, but when we run the following code



mygrid.cells(IndexArray[x],2).getValue()



We are getting the Grids full XML data which in this case is:

471^javascript:view_record(“471”)^_self



We want it to Return the “471” and nothing else



The column is defined as a “link” type



I have also been able to store the value we want to retrieve in the title field (which currently displays as a popup) but have not found a way to retrieve that



Can you Help?



Thanks

Joe

You can get only text part of link as
    mygrid.cells(IndexArray[x],2).getContent()