Removing your cssClassNames, the Table works as expected. Specifically, when there is a fixed height that is less than the height required to show all rows without scrolling, then the fixed header row feature kicks in.
At this point I would have to say the problem is an incompatibility between your CSS and what the Table requires. It may be that the customizations you want can not be supported now, but of course it is not that any CSS at all should work regardless. So I would start by asking what customization do you actually want, and then we can investigate how best to implement that. On Sun, Apr 29, 2018 at 10:30 PM Sean Larson <[email protected]> wrote: > OK found the issue. Below is a snippet of my page. It appears giving a > height to any of the divs in the snippet below will cause the API to try to > implement a type of "fixed" header. > > Example of bad behavior: https://codepen.io/industrepreneur/pen/ELZdvQ > Without height: https://codepen.io/industrepreneur/pen/RyKEwg > > The fix I posted goes around this implementation, but it seems how the > current feature is built causes some performance issues? > > <div class="" id="data-content" style="width:1000px; max-height:100px; > overflow-y:auto;"> > <div id="filter"></div> > <div id="dvTable" class="" style="height: 100%; width: 100%; max-height: > 100%;"> > > > <div id="dvMyTable" class="" style="width: 100%; height: 100%; max- > height: 100%;"> > </div> > </div> > </div> > > div#data-content { > max-height: 85vh; > width: 100%; > height: 85vh; > z-index: -1; > overflow: hidden; > position: absolute; > } > > -- > 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/b25e42e8-9521-4ad1-bde3-c7cb29558785%40googlegroups.com > <https://groups.google.com/d/msgid/google-visualization-api/b25e42e8-9521-4ad1-bde3-c7cb29558785%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 -- 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/CAOtcSJNtUdcN2BV4%3DyU6%2BfePXybzR3UyXZMVENWkUrb34dq1Qg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
