DataTable lazy and state

UI Components for React
Post Reply
marciohsilva
Posts: 1
Joined: 22 Mar 2021, 22:03

13 Sep 2022, 18:59

Hello,
what is the best way to use the DataTable component with lazy and state behaviors, to avoid unnecessary backend searches? is there any example for this

Melloware
Posts: 3299
Joined: 22 Apr 2013, 15:48

17 Sep 2022, 17:10

Yep I have a fully working demo that hits real REST services and performs everything lazily.

See my project: https://github.com/melloware/quarkus-monorepo

Where you are really interested is in CrudPage.tsx: https://github.com/melloware/quarkus-mo ... udPage.tsx
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 11.0.3 / PF Extensions 11.0.3
PrimeReact 8.0.0

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests