I got around this issue by creating a ScrollTable a different way from GWT. Where the incubator ScrollTable (current, haven't looked at gen2), uses a separate table for header, body, and footer, if you just use the HTML thead, tbody, and tfoot elements, you can easily get autofit. Then you can scroll just the body by giving tbody a set height in pixels and setting its css style to overflow-y: auto. (Note that this doesn't work in Firefox 1.0, so won't work in hosted mode on Linux.)
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of AirJ Sent: Thursday, October 09, 2008 18:51 To: Google Web Toolkit Subject: FixedWidthgrid.autoFitColumnWidth no longer in the 9/4 drop Hi, I just downloaded the latest gwt-incubator drop. The ScrollTable works nicely! The problem though is that, when i create a table, each column is evenly spaced by default. I actually want the columns to "autofit" the contents just like the default behavior in Grid. I saw the autoFitcolumnWidth method in FixedWidthGrid in previous drop but not in the latest. There must be a reason for doing so.. either too expensive or buggy. Still, is there a way to allow contents auto fit columns when first render a FixedWidthGrid? Thanks, Di --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
