Hi Jesse,
The Kendo UI pager widget accepts the following initialization options:
Above you are seeing the default values of the selectTemplate, linkTemplate and buttonCount properties.
+ ns (namespace) is a string value that can be set via
kendo.ns to distinguish between identical data attributes of different Javascript frameworks
+ idx is the page index
+ text is the text that the user can see on the corresponding page button. Currently it renders the page index
Since the pager is rendered inside a <ul> element, you cannot remove the <li> tags from the templates.
Starting from the next internal build, the Kendo Pager will have a
change event with the page index as event argument, fired when the user pages.
The pager provides the following methods:
totalPages()
pageSize()
page() - returns the current page
You can use next / prev buttons outside the pager templates and cause a paging action manually with
Greetings,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework -
download Kendo UI now!