Data only shown after window resize when using externalPaging
See original GitHub issueI’m submitting a … (check one with “x”)
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here
Current behavior Data is only shown after resizing the window. As far as I know this is only a problem when using external paging.
I am using these settings:
<datatable class="material striped fill-width" [rows]="publications" [columnMode]="'force'" [headerHeight]="50" [footerHeight]="50" [rowHeight]="'auto'" [externalPaging]="true" [limit]="limit" [count]="count" [offset]="0" [scrollbarH]="true" (page)='onPage($event)'>
Expected behavior The data to be shown without the requirement to resize the screen first.
Reproduction of the problem
What is the motivation / use case for changing the behavior? This is not a good user experience 😃
My environment: OS X 10.12.1 (Sierra)
- Table version: 1.7.0
- Angular version: 2.2.4
- Browser: [all | Chrome XX | Firefox XX | IE XX | Safari | 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 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
HTML canvas only triggered after browser resize?
Your canvas width is only set inside the resizeWindow(); function. Try adding resizeWindow(); directly after the function definition:
Read more >Window: resize event - Web APIs | MDN
The resize event fires when the document view (window) has been resized. This event is not cancelable and does not bubble.
Read more >Page: DOMContentLoaded, load, beforeunload, unload
load event – external resources are loaded, so styles are applied, image sizes are known etc. beforeunload event – the user is leaving:...
Read more >Core Web Vitals report - Search Console Help - Google Support
Fix poor user experiences on your siteThe Core Web Vitals report shows how your pages perform, based on real world usage data (sometimes...
Read more >Using web parts on SharePoint pages - Microsoft Support
If the page is not already in edit mode, click Edit at the top right of the page. Hover your mouse above or...
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
Plz retry in 2.1.2
My environment: win32 x64
Table version: 13.1.0 Angular version: 6.0.9 Browser: [all | Chrome XX | Firefox XX | IE XX | Safari | 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]