How can I implement lazyload in the primeReact?

UI Components for React
Post Reply
Shannonmaus
Posts: 8
Joined: 06 Mar 2023, 11:35

14 Mar 2023, 07:30

I have a huge dataset thus i need to implement pagination for the Datatable in PrimeReact and for this i reffered the documentation which suggest to use lazyload to do so.But it is not working as well as my data is not displayed in the datatable but in console log it is getting displayed.
I have the following code implementation for achieving lazyload where i have added lazy attribute in the Datatable and called it onPage function using usestate in react. Any help will be appreciated.
SkyWard Alpine Login

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: gulshan212 and 3 guests