Rather than swap the value of the cell, I suggest looping over each value in the column and setting its formatted value using setFormattedValue(). Set the formatted value to be an img link, as done in "regular html" (<img src='...' >). Then set the allowHtml option of the Table to true. The images will then appear as desired.
The benefit of setting the formatted value rather than the actual value of the cell allows you to continue to use the underlying string value in other areas of your application. hth, -- N -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
