Creating hyperlink cell in grid

Hi ,

i tried to create hyperlink cell in grid in two ways. but in both case i had issue.
1)cell type ro created cell with CDATA
<![CDATA[&2200610]]>

issue with the above implementation is data(2200610) is not displaying the grid .

i followed the same approach in dhtmlx1.5 version and it worked at that time.

  1. cell type ‘link’ and created cell with data

2200610^javascript:XXX(‘0063000000DabeQAAR’)^_self

link is displaying correctly but when ever i click on link it is not calling the xxx() method and throwing Java script error .

presently i am using dhtmlx 2.5 build 090904
Can You Please let me know what is going wrong in both scenarios?.

Did you ever get an answer? I had the same problem and reverted to using HTML. So my cell looked like :

displayvalue

I’m loading my data through xml and it worked for me. hope it helps.

fyi, for those just learning, like myself, I used the target="_blank" to open a new window

try to use in grid.setColTypes like link and the xml look like

echo “”.$row[matnr]."^./MY_PATH/my_archive.pdf";

it works fine for me, hope it helps

You can find working example of “link” eXcell type here dhtmlx.com/docs/products/dht … _grid.html

link is displaying correctly but when ever i click on link it is not calling the xxx() method and throwing Java script error .
Please try to replace single quotes with double quotes:

2200610^javascript:XXX(“0063000000DabeQAAR”)^_self