YUI recommends YUI 3.
YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.
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.
Item | Quantity | Description |
---|---|---|
previousnext | ||
Helmet | 43 | Red baseball helmet. Size: Large. |
Football | 84 | Leather football. |
Goggles | 31 | Light blue swim goggles |
Badminton Set | 56 | Set of 2 badminton rackets, net, and 3 birdies. |
Tennis Balls | 128 | Canister of 3 tennis balls. |