Hi all:

According to the documentation, the following code should modify the
font of the Header Row of a table:

<script>
        var ccsClassNames = {
                        'headerCell': 'small-table-font bold-font',
                        'rowNumberCell': 'small-table-font',
                        'tableCell': 'small-table-font'};
        var tableoptions = {'alternatingRowStyle': true, 'showRowNumber':
true, 'allowHtml': true, 'ccsClassNames': ccsClassNames};
            .
            .
            .

        // Create and draw the visualization.
        DefTab = new
google.visualization.Table(document.getElementById('DefectTab'));
        DefTab.draw(Ddata, tableoptions);
</script>

</script>

<style type='text/css'>
        .small-table-font {
                font-size: 10px;
        }

        .bold-font {
                font-weight: bold;
        }
</style>

Unfortunately, this only seems to work on the table cells themselves,
and not the header...  Am I missing something?

Thanks!
Max

-- 
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-api@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