Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ramesh on Oct 16, 2008 06:52
open dhtmlx forum
How to use hyperlink or html anchor in dhtmlxgrid column data

Hi,

I have a requirement , where i need to use tool tip which uses custom style sheets.

The tool tip can be included for a column using hyperlink.

This functionality how i can include in xgrid columns

sample code in normal html is like below the same needs to be applied in dhtmlxgrid
<td>
<a id="idCl1" href="$divCl1" class="betterTip" title="xxx" onClick="return (false);"><bean:write name = "yyy" property = "aaa"/></a></td>

Please help on this issue.

Thanks in Advance
Ramesh
Answer posted by Support on Oct 16, 2008 09:00
If such data need to be included in grid's cell, you can use inline HTML in XML dataset

<row id="some">
   <cell><![CDATA[
         <a id="idCl1" href="$divCl1" class="betterTip" title="xxx" onClick="return (false);"><bean:write name = "yyy" property = "aaa"/></a>
   ]]></cell>

Answer posted by ramesh on Oct 16, 2008 11:14

Thanks for your quick reply.