datatable lazy loading indicator
I have a datatable with lazy loading turned on. When the page first loads and there is no data to display the loading indicator never goes away until I actually load some data. I tried to set [loading]="false" to override but no luck. I'm on the latest version 4.2
Last edited by dsoltesz on 13 Sep 2017, 17:08, edited 1 time in total.
temp work around
Code: Select all
public ngAfterViewInit() {
setTimeout(() => {
this.programs = []
}, 1000)
}
-
- Posts: 4
- Joined: 24 Sep 2017, 09:43
I have the same problem when updating mu primeng to ^4.2.1 ,first time the data want to load , the loading icon doesn't go away.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
In lazy mode, you don't need to deal with loading prop, it handles it internally. If you have your own loader you can disabled the built-in one with [enableLoader]="false". dsoltesz is a PRO user and he reported it as fixed in 4.2.1.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 23 guests