.orange-background {background-color: orange;}
var cssClassNames = {'headerRow': 'orange-background large-font bold-font' //it changes the table header row only,I want to change last row.};var options = {'showRowNumber': true, 'allowHtml': true, 'cssClassNames': cssClassNames};
--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/ZVaWoFaZcXIJ.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
To post to this group, send email to google-visualization-api@googlegroups.com.
To unsubscribe from this group, send email to google-visualization-api+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
--
BY
R.RAMPRASAD
Looping trough the all cells of the last row will work:
var total_columns =data.getNumberOfColumns();for (var i = 0; i < total_columns; i++) {data.setProperty(lastrow, i, 'style', 'border: 1px solid green;');}