Yes you can. Once I've got the table I use .getNumberOfRows() to get the 
number of rows, then loop through the table getting the values I need from 
it using .getValue and use .setCell to change the formatted value.

Those methods are described on 
https://developers.google.com/chart/interactive/docs/reference

I have a JSFiddle at https://jsfiddle.net/brisray/3002utsd/ that shows the 
code and the spreadsheet used is at 
https://docs.google.com/spreadsheets/d/1cfoyhsGIvicksLVxz3kZIaf_N4xkgVMV_PFvUxlBgU0/edit#gid=0

I have used the method on several live sites and it is robust:

http://www.indstate.edu/business/facstaff/conferences with the table at 
https://docs.google.com/spreadsheets/d/1HjYG_w7Pw6K3kJbXhDoz-m4D4PPkhMusRBfhWgPY5vc/edit#gid=0

http://www.indstate.edu/business/social-media/all with the table at 
https://docs.google.com/spreadsheets/d/1cfoyhsGIvicksLVxz3kZIaf_N4xkgVMV_PFvUxlBgU0/edit#gid=0

http://hmsgambia.org/crewlist.htm with the table at 
https://docs.google.com/spreadsheets/d/1kjOTQMAlWc-j6G_XfFUJIzAxuvmyxygQh0q1Dpn4oRU/edit#gid=0

As the links are completely different to the cell values I put the URLs in 
the spreadsheet, but there's no reason the links cannot be constructed in 
the script from the information already in the cell.

Ray

-- 
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/01d55c67-0ce8-4676-8932-2eb18a1444a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to