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

Kendo.Mvc.UI.Fluent.GridPageableSettingsBuilder

Defines the fluent interface for configuring Pageable

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

value System.String

The value that configures the ariatemplate.

ARIATemplateId(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

value System.String

The value that configures the ariatemplate.

AlwaysVisible(System.Boolean)

Sets alwaysVisible option for the grid's pager.

Parameters

enabled System.Boolean

A value indicating whether the pager should be visible when total items in DataSource is less than pageSize

Position(Kendo.Mvc.UI.GridPagerPosition)

Configures the grid pager position.

Parameters

position Kendo.Mvc.UI.GridPagerPosition

PageSizes(System.Collections.IEnumerable)

Sets the page sizes of the grid.

Parameters

pageSizes System.Collections.IEnumerable

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

Responsive(System.Boolean)

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

Parameters

value System.Boolean

The value that configures the responsive.

Enabled(System.Boolean)

Enables or disables paging.

Example (ASPX)

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

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

Parameters

value System.Boolean

The value that configures the navigatable.

In this article
Not finding the help you need?