I got the old functionality back by adding a google OnReady event to the
chart, and using jquery to find the "table" tag via the google class name,
to add the "position:absolute" attriubte
google.visualization.events.addListener(myTable, 'ready',
function () {
var x = document.getElementsByClassName(
"google-visualization-table-table")[0];
x.style.position = "absolute";
});
There does seem to still be a performance hit as google is injecting some
script to change the "top" style of every "th" tag in "thead" dynamically
as the user scrolls. I am not sure this is necessary when using the
absolute tag. Since the engine is using thead and tbody, there is the
possibility of using these tags to achieve a fixed header, but it is not
implemented this way?
--
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/5a3c2270-08dc-429c-868d-7f06477c64eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.