dojox.widget.Pager¶
Project owner: | Peter Higgins |
---|---|
since: | V1.1.1 |
Contents
A Pager, displaying a list of sized nodes.
Introduction¶
TODO: introduce the component/class/method
Examples¶
Programmatic example¶
TODO: example
Declarative example: Horizontal Pager¶
@import "{{baseUrl}}dojox/widget/Pager/Pager.css";
dojo.require("dojo.data.ItemFileReadStore");
dojo.require("dojox.widget.Pager");
<!-- the datastore -->
<div data-dojo-type="dojo.data.ItemFileReadStore" data-dojo-id="pagerStore" id="pagerStore"
data-dojo-props="url:'{{dataUrl}}dojox/widget/tests/_pager-data.json'"></div>
<h2>Horizontal Pager</h2>
<div style="padding:8px">
<div data-dojo-type="dojox.widget.Pager" id="dojoxMenu1"
data-dojo-props="store:pagerStore" style="width: 410px; height: 150px"></div>
</div>