Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Anupama on Jan 21, 2009 23:13
open dhtmlx forum
Text and ImageButton in DHTMLX Grid cell

Can we have Text and ImageButton together in dhtmlX grid? The image should be displayed in the cell based on some value (Text).
On click of that image page should be redirected. Can we achieve this? Is there any sample available?
Answer posted by dhxSupport on Jan 22, 2009 01:53
You can use any html stored inside CDATA at the xml structure:
<cell><![CDATA[
<span>Click me!</span><a href="http://google.com" target="_self"><img src="image.gif" /></a>

   ]]></cell>