This is exactly what I want to do. Can you show a complete code example? I 
copy your code in table.setCell(....) but it did not work. Thanks. - Harry


On Tuesday, July 26, 2011 12:19:38 PM UTC-5, asgallant wrote:
>
> You escape quotes in javascript with the backslash:
>
> ,{v:'<A onclick="window.open(\'popup.html\', \'windowname1\', 
> \'width=200, height=77\');  return false;" target=#>click here</A>'}
>
> You might be better served using the selection event handler to do what 
> you want though.  After drawing your table (assuming you named your viz 
> table object "myTable"), call this:
>
> google.visualization.events.addListener(myTable, 'select', function () {
>      window.open("popup.html", "windowname1", "width=200, height=77");
> });
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to