Datatable width resize problem. datatable-scroller and datatable-header-inner does not resize after initial load
See original GitHub issueI’m submitting a … (check one with “x”)
[x] bug report => search github for a similar issue or PR before submitting
Current behavior datatable-scroller and datatable-header-inner(also it’s children) doesn’t resize on width after datatable inital load
Expected behavior They should resize… https://cl.ly/1U090c3Q0X2S
Reproduction of the problem You can represent the problem anywhere.
What is the motivation / use case for changing the behavior? This is a bug.
Please tell us about your environment: macOS Sierra, Chrome Version 60.0.3112.101
-
Table version: 9.3.0, 10.0.5
-
Angular version: 4.3.3
-
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
-
Language: [all | TypeScript X.X | ES6/7 | ES5]
Issue Analytics
- State:
- Created 6 years ago
- Reactions:22
- Comments:24
Top Results From Across the Web
Header does not resize when using scrollX - DataTables
My webpage has a left menu that can be hidden. The datatable is within a div which resizes to fill the screen as...
Read more >datatable jquery - table header width not aligned with body width
But when I click on the header, it is getting aligned with the body width but even then there is some light misalignment....
Read more >jQuery DataTables: Column width issues with Bootstrap tabs
Provides solutions to common problems with incorrect column widths for a table using jQuery DataTables and Bootstrap tabs.
Read more >Sizing and Resizing of DataTable, Configuration Webix Docs
The usage of string values is incorrect and will cause errors in the sizing ... If there's more space initially or after resizing,...
Read more >DataTable Width & Column Width - Dash Plotly
Without fixed column widths, the table will dynamically resize the columns depending on the width of the data that is displayed. Limitations. Percentage-based ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Adding a simple css rule for
.datatable-scroll
display: inherit !important;
works for me@webmatrixxxl Hi i have simple solution for this. You just need to trigger window resize event.
window.dispatchEvent(new Event('resize'));