DataTable Loading Mask

UI Components for Angular
edu.lang
Posts: 2
Joined: 17 Nov 2016, 19:14

13 Jan 2017, 16:24

Hi,

What is the best way to put a loading mask on a dataTable when doing a lazy loading from a remote server?

Thanks!

Samisama
Posts: 16
Joined: 19 Sep 2016, 10:53

16 Jan 2017, 15:35

I need that too please.

brian428
Posts: 7
Joined: 13 Apr 2016, 04:06

16 Jan 2017, 20:42

A generic loading mask / busy indicator component or directive would be very useful across the board.

george4aex
Posts: 1
Joined: 22 Feb 2017, 18:57

22 Feb 2017, 21:52

brian428 wrote:A generic loading mask / busy indicator component or directive would be very useful across the board.
+1

It would be interesting to hear whether or not this is even on the roadmap. We are new to Angular2 and are interested in PrimeNG but we have already had to reach for a non-PrimeNG component for a loading indicator. If PrimeNG adds this it could be one of the "Overlay" components.

Thanks for listening

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

23 Feb 2017, 08:56

We have plans for DataTable but need to figure out how to expose it, I guess we need to add loading property otherwise it can't know when data is loaded since data can be loaded anytime via observable or else. Feedback is welcome.

svr
Posts: 4
Joined: 03 Jan 2017, 12:32

28 Feb 2017, 14:32

brian428 wrote:A generic loading mask / busy indicator component or directive would be very useful across the board.
+1 :)

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

28 Feb 2017, 23:09

Any idea how this can be implemented with Angular, maybe with a loading property?

Code: Select all

<p-dataTable [loading]="loading" ...
You may need to manually set loading to true or false before and after loading it. Creating the mask is easy as we did in PrimeFaces;

http://www.primefaces.org/showcase/ui/m ... ckUI.xhtml

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

12 Apr 2017, 16:05

Available for 4.0-RC3 via loading property.

mattp
Posts: 2
Joined: 30 Mar 2017, 17:46

12 Apr 2017, 23:21

Any schedule for the RC3 release? Is there a way for me to work from the "head" to try out the pre-release RC3 changes?

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

13 Apr 2017, 13:04

Planned for tomorrow, I guess you can get it from github.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 25 guests