Sorry, I forgot to mention that you will need to use css to set the width of a column, if you can do it at all. And you will need to do it not using any of the supported cssClassNames, since not apply to specific columns.
I suppose it would be easier for users if we provide more direct support for this kind of thing. On Sun, May 7, 2017 at 7:39 PM, Daniel LaLiberte <[email protected]> wrote: > Hi Jay, > > You are setting the 0th row property, which is actually the first data > row, not the header row. If you set some other property, such as 'color', > you will see that the property is being set properly for the data cell, and > you can see (in the debugger) your width setting for the element as well. > > But even if you could set the width of the header column (a th element), > this is not all you need to do to set the width of an html table. There > might be some interference with other settings for the table, and its > containers, however. It might be that we have broken the ability to set > the column width of a table. So, experiment with removing your 100% width > option, or setting to a specific width, or 'auto'. > > Hope that helps. > > On Sun, May 7, 2017 at 3:38 PM, Jay OCHS <info@ > orangecountyhistoricalsociety.org> wrote: > >> Any idea why this solution does not work on a table read in from a google >> sheet? See https://jsfiddle.net/Jay_Campbell/dgbh6sL0/124/ >> >> On Thursday, October 20, 2011 at 10:08:12 AM UTC-4, asgallant wrote: >>> >>> You're welcome. >> >> -- >> 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 google-visualization-api@googl >> egroups.com. >> Visit this group at https://groups.google.com/grou >> p/google-visualization-api. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/google-visualization-api/c36007a7-fafb-43cc-a097-20cf80 >> fdb450%40googlegroups.com >> <https://groups.google.com/d/msgid/google-visualization-api/c36007a7-fafb-43cc-a097-20cf80fdb450%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> > [email protected] <[email protected]> 5CC, Cambridge MA > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> [email protected] <[email protected]> 5CC, Cambridge MA -- 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 https://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJN1a%3DsUaO9xG0CM%3D%3DoR_k0HbdMihy2Qr9QPbmDnUZPrpQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
