paginator separated by the dataTable

UI Components for JSF
Post Reply
luca.stancapiano
Posts: 27
Joined: 18 Jun 2018, 14:52

18 Jun 2018, 14:56

Is it possible to use the paginator separately from the dataTable? My need is to have the paginator widget out of the table in which it is declared. What is the best way to manage it?

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

18 Jun 2018, 20:42

You can try moving it outside the datatable with client-side dom manipulation or try using the omnifaces o:moveComponent. But maybe there is another way to solve what you actually need if you think that moving the paginator out solve a different problem.

luca.stancapiano
Posts: 27
Joined: 18 Jun 2018, 14:52

19 Jun 2018, 10:48

I resolved rewriting the CSS classes. Something as:

.ui-paginator {
position: absolute;
right: 32px;
}

.ui-paginator-top {
top: 115px;
}

.ui-paginator-bottom {
top: 442px;
}

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

19 Jun 2018, 12:56

OK, would not have expected just css to work (or be sufficient for you)

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 26 guests