Do'h! Once again thanks Andrew.

On Thursday, 17 July 2014 19:37:26 UTC+1, Andrew Gallant wrote:
>
> Don't put quotes around csses:
>
> table = new google.visualization.ChartWrapper(
>         {
>             'chartType': 'Table',
>             'containerId': 'table_chart_div',
>             'options': {
>                 'page':'enable',
>                 'pageSize':15,
>                 'allowHtml': true,
>                 'cssClassNames': csses,
>                 'showRowNumber': true
>             }
>         }
>     );
>
> On Thursday, July 17, 2014 7:43:31 AM UTC-4, [email protected] wrote:
>>
>> Hi
>>
>> Hopefully a simple answer. I'm constructing a table for a dashboard using 
>> chart wrapper. 
>>
>> However the cssClassNames option appears to be ignored. 
>>
>> table = new google.visualization.ChartWrapper(
>>         {
>>             'chartType': 'Table',
>>             'containerId': 'table_chart_div',
>>             'options': {
>>                 'page':'enable',
>>                 'pageSize':15,
>>                 'allowHtml': true,
>>                 'cssClassNames':'csses', ----- this does not work in 
>> ChartWrapper...
>>                 'showRowNumber': true
>>             }
>>         }
>>     );
>>
>> if i draw a table on the same page of class type Table (rather than 
>> chartwrapper) It works as expected.
>> var csses = {headerRow: 'DeploymentHeader'};
>> var options = {'showRowNumber': true, 'allowHtml': true, 'cssClassNames': 
>> csses};
>> testTable.draw(deploymentData,options);
>>
>> I've tried passing the options to the constructor of the parent dashboard 
>> as well without success.. 
>>
>> Thanks again
>>
>> Frankie
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to