YUI recommends YUI 3.

YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.

Manually rendering Paginator UI Components

If you have a UI where it doesn't make sense to place all controls in a single container (or set of containers), you can place individual UI Components manually outside Paginator's configured container(s).

For this example, we'll create a table from a data array and render a few controls into the generated <tfoot> using the Paginator's template. We'll also subscribe to the Paginator's render event with a callback that renders a CurrentPageReport UI Component into a <div> above the table.

Page 1 of 3
ItemQuantityDescription
previousnext
Helmet43Red baseball helmet. Size: Large.
Football84Leather football.
Goggles31Light blue swim goggles
Badminton Set56Set of 2 badminton rackets, net, and 3 birdies.
Tennis Balls128Canister of 3 tennis balls.