Table Visualization - Why does it not use <th>?

78 views
Skip to first unread message

Michael N

unread,
Apr 9, 2012, 6:21:22 PM4/9/12
to google-visua...@googlegroups.com
Hey I was curious, why does the Table Vis not use <thead> and <th> as the tags for the sortable table headers? It's certainly not a big deal, but I have a table style for the rest of the tables on my site which use the th tag and noticed the vis wasn't getting those styles. 

Jinji

unread,
Apr 10, 2012, 7:20:03 AM4/10/12
to google-visua...@googlegroups.com
I can't really say anything about "why", because I don't know, but we'll consider changing it. Thanks.

On Tue, Apr 10, 2012 at 1:21 AM, Michael N <fox...@gmail.com> wrote:
Hey I was curious, why does the Table Vis not use <thead> and <th> as the tags for the sortable table headers? It's certainly not a big deal, but I have a table style for the rest of the tables on my site which use the th tag and noticed the vis wasn't getting those styles. 

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/HDrpKrccSqgJ.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.

NA

unread,
Apr 11, 2012, 10:12:01 AM4/11/12
to google-visua...@googlegroups.com

If you do change that, please make sure to let us know ahead of time.  I have some code that relies on the elements in the table being marked-up as they currently are; changing them to different elements will break that code and I'll need to make changes to accommodate that.  This may also affect others as well.

thanks,



ChartMan

unread,
Apr 11, 2012, 1:17:44 PM4/11/12
to google-visua...@googlegroups.com

That is why I assume we won't change it

Thanks for the note.

ChartMan

On Apr 11, 2012 5:12 PM, "NA" <nabee...@gmail.com> wrote:

If you do change that, please make sure to let us know ahead of time.  I have some code that relies on the elements in the table being marked-up as they currently are; changing them to different elements will break that code and I'll need to make changes to accommodate that.  This may also affect others as well.

thanks,



--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.

Robert Curl

unread,
May 30, 2013, 2:50:24 PM5/30/13
to google-visua...@googlegroups.com
I was also wondering about this. It should be pretty trivial (but annoying) to change legacy code, but having the table use the proper HTML elements would help in creating easier to maintain style (thead, tfoot, th, etc.). 
e.g. 
#table .google-visualization-table-tr-head { color: blue }
vs
#table thead tr { color: blue }

Mitchell Foley

unread,
May 30, 2013, 3:47:46 PM5/30/13
to google-visualization-api
Hello,

This is something that probably should be changed, but there have just always been other things that have taken a higher priority, especially since the table visualization isn't actually broken by this. That being said, the more we hear about things you'd like to see changed, the more likely we are to fix them!

-Mitch


--
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 google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages