server side pagination with export functionality

UI Components for JSF
Post Reply
bad_coder
Posts: 7
Joined: 30 Dec 2009, 06:08

30 Dec 2009, 17:10

I want to have a server side pagination on a large data set and have a exporter to export the entire list...

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

30 Dec 2009, 18:58

What happens when you create your exporter? Doesn't it export your all data?

bad_coder
Posts: 7
Joined: 30 Dec 2009, 06:08

30 Dec 2009, 19:08

It only exports the header.
Its not able to export the data contents of the datatable

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

04 Jan 2010, 15:14

I think you cannot do it out of the box, you need to provide the actual non lazy list in the data export request. So the idea is to check if it is an export request, if it is, the value of datatable should return all data.

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

24 Jan 2010, 00:04

Are you using lazy loading datatable?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 33 guests