And finally :-)

If you add #hack to the url, there's a hack in there that waits for
the .css to be loaded. Then the example works as intended...

Mark

On Apr 14, 2:29 pm, Markw65 <[email protected]> wrote:
> Forgot to add...
>
> You can see a very simple example of the bug 
> here:http://maps.myosotissp.com/bugs/jsapi-css-bug.html
>
> When you click "Create table", it creates a table, computes its size,
> and creates a div with a red border of the specified size. The first
> time you click it, you will see that the red border is much smaller
> than the actual table (because the css wasnt loaded when the size was
> computed). For subsequent clicks on the button, the red border will
> surround the table perfectly.
>
> Mark
>
> On Apr 14, 2:24 pm, Markw65 <[email protected]> wrote:
>
> > Are you dynamically loading the table package and creating the table
> > from the onload callback?
>
> > If so there is a bug, where the callback fires before the css has
> > finished loading, and so when the table computes its size, it gets the
> > size wrong. I submitted a bug against the google loader a while back,
> > but nothing happened so far.
>
> > Mark
>
> > On Apr 14, 1:59 pm, larry <[email protected]> wrote:
>
> > > 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