I don't think there's any class that does this, but you should be able to
loop over the data table and call setFormattedValue() on each cell.

On Mon, Jul 11, 2011 at 5:42 AM, ficuscr <[email protected]> wrote:

> A noob question here.  Trying to figure out how I can set a class, or
> otherwise style a cell in a DataTable, based off a string pattern in a
> given cell.  I see the google.visualization.ColorFormat class but it
> only works with a number range.  Is there not a method to format using
> regex pattern matches?  Should I be passing this with the underlying
> data instead?  Looking for advice.   Hope this is the appropriate
> place to ask.  Thanks.
>
> --
> 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.
>
>

-- 
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.

Reply via email to