multi row header on Google Visualizations
- by Elzo Valugi
I am trying to create a DataTable with a multi row header. I'll exemplify here:
| 2008 | 2009 |
---------------------------------------------------------
| price | qty. | price | qty |
---------------------------------------------------------
| 93993 | 34434 | 34244 | 3434 |
.....
The years headers can be fixed as I don't want to do sorting by that.
Is there a way to do that in Google Visualizations?
Update
Attaching it with JS does NOT work, and it will disappear when sorting is done.
$(".google-visualization-table-table").prepend("<tr class='google-visualization-table-tr-head'><td colspan='4'>something</tr>");