Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Igor on Oct 17, 2007 10:16
open dhtmlx forum
HTML in grid cells

Is there a way of adding html content to the grid cells?

eg.

<cell type="??"> <a href="javascript:popThumb('urltobiggerimage', '', '')" ><img height='128' width='128' src='../some_image.jpg' /></a> </cell>

Thanks
Answer posted on Oct 18, 2007 04:37
all types of cells can threat incoming value as HTML, but you need to escaped HTML in XML

The next will work
<cell><![CDATA[ <a href="javascript:popThumb('urltobiggerimage', '', '')" ><img height='128' width='128' src='../some_image.jpg' /></a> ]]></cell>