Vivek Shankar
Vivek Shankar

Reputation: 701

Lazy Loading in Primefaces

I have used Primefaces DataTable and Datascrollerwith version 5.3.x. I have a requirement which should have multiple rows . the exising one is like fetching all the records(more than 100 records) at the same time. I have a idea of lazy loading with a component that supports global filter and lazy loading with collapse panel(should close the previous opened row when new row is selected) inside each row. Can someone please guide me on this , there is a ongoing issue on performance when it fetches all the records at the stretch

Upvotes: 0

Views: 1914

Answers (1)

Mladen Savić
Mladen Savić

Reputation: 472

You have existing solution on Lazy datatable. Your service should extend LazyDataModel and implement methods on how to fetch data. Combine that with filter and you are good to go.

Upvotes: 1

Related Questions