Categories | Question details Back To List | ||
how to add image link to <cell> </cell> in dhtmlxgrid? Hi there, I am trying to use dhtmlgrid in my application. I found examples for adding an image or a link in <cell> </cell> respectively but I still don't know how to add an image with link (i.e. click the image will activate the link in the grid). Thanks for your help in advance. ouyang Answer posted by Support on Jul 21, 2008 02:08 There are two ways a) inline image grid.setColTypes("ro"); ... <cell><![CDATA[ <a href="http://some.com"><img src='some.gif'></a> ]]></cell> b) img cell type grid.setColTypes("img"); ... <cell>some.gif^alt text^http://some.com^_blank</cell> |