New to Telerik UI for ASP.NET Core? Download free 30-day trial

PageableBuilder

Methods

ARIATemplate(System.String)

Specifies a template used to populate the value of the aria-label attribute of the pager element.The parameters available for the template are: page - The current page. or totalPages - The total number of pages..

Parameters

template - System.String

ARIATemplateId(System.String)

The id of the script element used for ARIATemplate

Parameters

templateId - System.String

ARIATemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The view template used for ARIATemplate

Parameters

templateView - Microsoft.AspNetCore.Html.IHtmlContent

ARIATemplateHandler(System.String)

Parameters

templateHandler - System.String

PageSizes(System.Int32[])

Sets the page sizes of the grid.

Parameters

pageSizes - System.Int32[]

The values shown in the pageSize dropdown

PageSizes(System.Boolean)

Sets the page sizes of the grid.

Parameters

enabled - System.Boolean

A value indicating whether to enable the page sizes dropdown

ButtonCount(System.Int32)

Sets the number of buttons displayed in the numeric pager. Default is 10.

Parameters

value - System.Int32

The value

If set to true the user could navigate the widget using the keyboard navigation. By default keyboard navigation is disabled.

Parameters

enabled - System.Boolean

Numeric(System.Boolean)

Parameters

enabled - System.Boolean

Info(System.Boolean)

Parameters

enabled - System.Boolean

Input(System.Boolean)

Parameters

enabled - System.Boolean

Refresh(System.Boolean)

Parameters

enabled - System.Boolean

Responsive(System.Boolean)

If set to false the pager will not be responsive. By default the pager is responsive.

Parameters

enabled - System.Boolean

Messages(System.Action)

Parameters

configurator - System.Action<PageableMessagesBuilder>

PreviousNext(System.Boolean)

Parameters

enabled - System.Boolean

Enabled(System.Boolean)

Enables or disables paging.

Parameters

value - System.Boolean

Example


             @( Html.Kendo().Grid(Model)
                        .Name("Grid")
                        .Pageable(paging => paging.Enabled((bool)ViewData["enablePaging"]))
            )

In this article
Not finding the help you need?