Thanks. That helped a bit,but I still have the problem that the table
is not spanning the full width of the div. But if I click on a column
name then the column widths of the table adjust to  span the full
width of the div. How can I get the table to auotmatically span the
full width of the div when it is first drawn.


On Apr 14, 10:48 am, p00kie <[email protected]> wrote:
> This is what you want:
>
> <div id="table_div" style="width:100%; height: 500px; overflow:auto"></
> div>
>
> overflow:auto
>
> On Apr 14, 12:53 pm, larry <[email protected]> wrote:
>
> > I have a google table right-aligned inside a div that has the
> > style=overflow:auto set.
> > I do not specify a div width, but I do specify a div height.
>
> > I have a table whose columns do not span the full div width and the
> > table has more rows than will fit into the div width.
>
> > When I draw the table the div gets a vertical scroll bar which isn't
> > what I want because when I scroll up, the column names are scrolled up
> > and are not visible. When I click on a column name the vertical scroll
> > bar suddenly becomes associated with the table which is what I want
> > because then the column names row is frozen and always visible when
> > you scroll.
>
> > How can I make the vertical scroll bar be part of the table and not
> > the div when it initially is drawn?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to