Select All data in Datatable using Checkbox in pagination

UI Components for JSF
Post Reply
hisouka
Posts: 5
Joined: 03 Oct 2013, 09:02

16 Jun 2017, 08:56

Good Day,

I am trying to achieve select all data in Datatable pagination by using checkbox:

<p:column selectionMode="multiple" style="width:16px;text-align:center"/>

It is successful but it only selects data in current page. How can I select all the data in all the pages?

Thank you.

hisouka
Posts: 5
Joined: 03 Oct 2013, 09:02

18 Jun 2017, 11:31

up

hisouka
Posts: 5
Joined: 03 Oct 2013, 09:02

19 Jun 2017, 08:41

up

LStrike
Posts: 27
Joined: 24 Jul 2013, 14:33

24 Apr 2019, 14:53

Hi there,

I encountered the same issue.
Found only one solution on StackOverflow.....
https://stackoverflow.com/questions/350 ... -paginator

Is there an easier solution for it, because I need it to implement on a dozen data tables.

Best LStrike

EDIT:
I found another one, way better, will try it out.
https://github.com/primefaces/primeng/issues/1206

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 63 guests