Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by sid on Oct 09, 2008 17:13
open dhtmlx forum
include <A href = link > DATA < /a> in the cell using json parse

Hello,

I want to include <a href=link>DATA</a> in a cell. My data is coming as JSON. How can I achieve this ?

Thanks,
Sid.
Answer posted by Support on Oct 10, 2008 01:45
Just place it as a property value - the grid inject values as innerHTML, so you can use tags inside the value without any additional steps. 

{
rows:[
  { id:1001, 
 data:[
  "100",
  "<a href='link'>DATA</a>",