Take the 2-minute tour ×  I have a datastore that is querying a
database and outputting JSon... something like this:  $data[] =
array('id' => $i, 'prod_id' => $product_id, 'link' => $link);
I'm wondering how you can pass back a link using the $link
variable. If I had this for example:  $link = "<a
href=\"google.com\"> Clicky </a>";  The datagrid would display
Clicky and not the actual html link... Is there anyway to pass
back html?  share|improve this question add comment  2 Answers
I would suggest passing the link URL and the link text
separately, then reconstructing them into an anchor link in
JavaScript on the client-side.  You could also try escaping the
HTML, then unescaping on the client-side.  I have no idea why it
won't send links- perhaps the browser is trying to parse the
sent HTML too early?  share|improve this answer add comment  You
can use formatter in dojo grid to format the HTML displayed in
each cell. When creating the grid, you can set a formatter for
each column. The formatter is a JavaSc