Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Mike King on Feb 27, 2009 10:51
open dhtmlx forum
dhtmlxgrid links from xml

I've using version 1.6 of the dhtmlxgrid. I want to have links in cells that open in the current browser. Using the "link" cell type always opens a new browser window - can that be controlled so that it links in the current browser window?

Also I tried embedding a link directly into my xml using:
<cell><![CDATA[<a href=locations/5>Show</a>]]></cell>

This does not produce a link that works - what have I done wrong? Does the cell type need to be "ro" or "link" if I use XML CDATA for the <a> tag?

Mike
Answer posted by Support on Mar 02, 2009 06:59
>>Does the cell type need to be "ro" or "link" if I use XML CDATA for the <a> tag?
It need to be "ro"
<cell type="ro"><![CDATA[<a href="locations/5">Show</a>]]></cell>

Also, link cell can be linked to specific target as

<cell type="link">Some^locations/5^_self</cell>