See here:
http://jsfiddle.net/JwuwT/
On Tuesday, March 25, 2014 9:14:05 AM UTC-4, Jeremy Faller wrote:
>
> You want to use the dataTable you've populated the table with and use the
> following code:
>
>
> table.setSelection([{row:data.getNumberOfRows()-1}]);
>
>
> On Monday, March 24, 2014 11:17:01 PM UTC-4, TheInnovator wrote:
>>
>> Hello,
>>
>> I am trying to style the last row in my table.
>>
>>
>> <https://lh3.googleusercontent.com/-WTGwjSU126E/UzD0tdLFYJI/AAAAAAAAAiw/KYRCHqBxG6Y/s1600/googleTable.PNG>
>> Here's my code:
>>
>> var tblOption = {
>> showRowNumber: true,
>> height:250,
>> width:500,
>> alternatingRowStyle: true,
>> cssClassNames: {
>> tableRow: 'conformanceAlternate',
>> selectedTableRow: 'conformanceFooter' *<--How do I select the last
>> row?*
>> }
>> };
>>
>
--
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.