on-internet
← Community

ScrollY issue in Datatable

Stack Overflow ·

I am using Datatable to give style to my table in HTML and I had to enable the ScrollY. Although It worked, it has a style problem that I am trying to solve. When you resize the window, for some reason, the header of the table doesn't resize with the table itself. I had some research and I found out when the web page is ready,it creates this tags related to the table: <div class="dataTables_scrollHeadInner" style="box-sizing: content-box; width: 1632px; padding-right: 0px;"> <table class="table table-hover table-striped cell-border table-bord dataTable no-footer" style="width: 1632px; margin-l

Comments

Sign in or sign up to comment and upvote.

No comments yet.