Can you use the OrgChart's setSelection() method?

thanks,

MC Get Vizzy

On Fri, Dec 10, 2010 at 11:16 PM, naven87 <nave...@gmail.com> wrote:

> You use the getFilteredRows function on the DataTable to select the
> cell(s) you want to highlight.  In the example below column 6 is a
> column which indicates User Role, then use the setRowProperty on those
> rows highlight.  I create a separate function to simplify.  Example
> below.
> ========================================================================
>
> function set_row (rows, style) {
>        for (r in rows) {
>                data.setRowProperty(rows[r],'style',style);
>        }
> }
>
>  var evp_rows = data.getFilteredRows([{column: 6, value: "EVP"}]);
>  set_row(evp_rows,"background-color:#EEF");
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To post to this group, send email to
> google-visualization-...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-visualization-api+unsubscr...@googlegroups.com<google-visualization-api%2bunsubscr...@googlegroups.com>
> .
> 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 google-visualization-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-visualization-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to