Get Face Value of the cell of type Link..

Dear All,

In My Grid i set 1 cloumn as of type link and the data i gave for a perticular cell is
“SRI DHANALAKSHMI COTTON ^AccountList.jsp?accnt=SRI+DHANALAKSHMI+COTTON”

where “SRI DHANALAKSHMI COTTON” and “^AccountList.jsp?accnt=SRI+DHANALAKSHMI+COTTON” is the URL associated to it

When i am using the api method accName = mygrid.cells2(rowindex, 3).getValue().toString();

i am getting accName as “SRI DHANALAKSHMI COTTON ^AccountList.jsp?accnt=SRI+DHANALAKSHMI+COTTON”

instead of “SRI DHANALAKSHMI COTTON”

if i use accName = mygrid.cells2(rowindex, 3).getText().toString();
i am getting “AccountList.jsp?accnt=SRI+DHANALAKSHMI+COTTON”

what is the API method to get face value “SRI DHANALAKSHMI COTTON”.

Thanks in advance

Tirupathi Rao.P

You can get face value of link with following code:

var face_value=mygrid.cells2(rowindex, 3).getValue().toString().split("^")[0];