Thanks a lot.. It worked.. On Sat, Dec 11, 2010 at 2:46 AM, 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. > > -- Thanks and Regards, Prathibha Mendon -- 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.