I need to open a new tab with some URL when the user clicks on a cell in a 
google char table. I was trying to do this by reacting to the cell 

google.visualization.events.addListener(table, 'select', tableSelectHandler);
function tableSelectHandler() {
const r = table.getSelection();
const row := r[0]['row'];
const col := r[0]['column'];
URL = buildURLForRowAndCol(row, col);

however it looks like while there is a 'row' attribute, there isn't a 
column one. Maybe I need to specify that I want to be able to select cells 
rather than just raws but it's not clear to me how to do that.

As an alternative, I'd be happy to store in the column a link, but I'm not 
sure how to do that either.

Can anybody help?

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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.
  • [visualization-api] google-c... 'Roberto Attias' via Google Visualization API

Reply via email to