If I create a visualization.Table, and *dont* set height or width, then it resizes as its container resizes. This is good, but not if I want a scrolling table...
If I set the height, but not the width, I would like it to resize horizontally as I resize the container, but it doesnt (in fact, looking at the html in firebug, its clear that it sets the widths of each column to fixed values). Finally, if I set the height, and set the width to "100%", I almost get what I want - except that the column headers dont resize. You can see what I mean here: http://maps.myosotissp.com/bugs/table_resize.html As you resize the browser window, the data columns auto resize - but the column headers dont. The problem occurs both in the "1" and "1.1" visualization libraries. I have a sort-of fix, which is to call table.draw(data, {height:<whatever>,width:100%}) from within my body.onresize handler. This works well, except that the column headers dont get resized until the user stops resizing the window, whereas the data columns are resized in real time. You can see this version here: http://maps.myosotissp.com/bugs/table_resize.html#fixit --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
