'translate' a dhtmlXGridFromTable event to a 'xml' event

Hi support team,

First, I used the dhtmlXGridFromTable method to create a grid including this part of code :

<td align="center"> <xsl:element name='a'> <xsl:attribute name='href'>javascript:void(0);</xsl:attribute> <xsl:attribute name='onmouseover'>return showPopup('http://Rapports/REPORT_LIST_TABLE_STATUS.xml?ID_VALUE=<xsl:value-of select="@ID"/>',450);</xsl:attribute> <xsl:attribute name='onmouseout'>return nd();</xsl:attribute> <div style='background-color:orange;border-radius:15px;font-size:8pt;'><xsl:value-of select="@date_ref"/></div> </xsl:element> </td>

th result is fine and when you pass on a row,a popup appears correctly (see attach) :

now, I would like to translate this event for ‘load from xml’ method, but I badly fail…

I suppose to attach a event or must I include the code in the xml file ?


same problem with images; how to make a link behind the image ?

thx

You may place any needed html-code right in your xml.
Just note, that you need to escape the special characters in the xml:
docs.dhtmlx.com/doku.php?id=othe … ers_in_xml

For example:

<row id="1"> <cell>DHTMLX</cell> <cell><![CDATA[<a href="http://dhtmlx.com">dhtmlx.com</a>]]></cell> </row>

i figure it out …

thx

Thx sematik !

it is my solution too

thx for your time