<kendo:pager>

A JSP wrapper for Kendo UI Pager.

Configuration Attributes

autoBind boolean

Indicates whether the pager refresh method will be called within its initialization.

Example

<kendo:pager autoBind="autoBind">
</kendo:pager>

buttonCount float

Defines the number of buttons displayed in the numeric pager.

Example

<kendo:pager buttonCount="buttonCount">
</kendo:pager>

info boolean

Defines if a label showing current paging information will be displayed.

Example

<kendo:pager info="info">
</kendo:pager>

input boolean

Defines if an input element which allows the user to navigate to given page will be displayed.

Example

<kendo:pager input="input">
</kendo:pager>

linkTemplate java.lang.String

The template for page number links.

Example

<kendo:pager linkTemplate="linkTemplate">
</kendo:pager>

numeric boolean

Defines if numeric portion of the pager will be shown.

Example

<kendo:pager numeric="numeric">
</kendo:pager>

pageSizes java.lang.Object

If set to true the pager will display a drop-down which allows the user to pick a page size. By default the page size drop-down is not displayed.Can be set to an array of predefined page sizes to override the default list. A special all value is supported. It sets the page size to the total number of records.If a pageSize setting is provided for the data source then this value will be selected initially.

Example

<kendo:pager pageSizes="pageSizes">
</kendo:pager>

previousNext boolean

Defines if buttons for navigating to the first, last, previous and next pages will be shown.

Example

<kendo:pager previousNext="previousNext">
</kendo:pager>

refresh boolean

Defines if a refresh button will be displayed. Click on that button will call DataSource read() method to get actual data.

Example

<kendo:pager refresh="refresh">
</kendo:pager>

selectTemplate java.lang.String

The template for selected page number link.

Example

<kendo:pager selectTemplate="selectTemplate">
</kendo:pager>

Configuration JSP Tags

kendo:pager-messages

Defines texts shown within the pager. Use this option to customize or localize the pager messages.

More documentation is available at kendo:pager-messages.

Example

<kendo:pager>
    <kendo:pager-messages></kendo:pager-messages>
</kendo:pager>

Event Attributes

change String

Fires when the current page has changed.

For additional information check the change event documentation.

Example

<kendo:pager change="handle_change">
</kendo:pager>
<script>
    function handle_change(e) {
        // Code to handle the change event.
    }
</script>

Event Tags

kendo:pager-change

Fires when the current page has changed.

For additional information check the change event documentation.

Example

<kendo:pager>
    <kendo:pager-change>
        <script>
            function(e) {
                // Code to handle the change event.
            }
        </script>
    </kendo:pager-change>
</kendo:pager>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy