# PageableMessagesBuilder

## Methods

### Display(System.String)

Sets the pageable "display" message

#### Parameters

##### message - `System.String`

The display text.

#### RETURNS

Returns the current [PageableMessagesBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pageablemessagesbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Pageable(p => p.Messages(m => m.Display("Showing {0}-{1} from {2} data items")))
                .Scrollable()
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Empty(System.String)

Sets the pageable "empty" message

#### Parameters

##### message - `System.String`

The Pager info text when the Grid is empty.

#### RETURNS

Returns the current [PageableMessagesBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pageablemessagesbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Pageable(p => p.Messages(m => m.Empty("No data")))
                .Scrollable()
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Page(System.String)

Sets the pageable "page" message

#### Parameters

##### message - `System.String`

The text of the label displayed before the pager input.

#### RETURNS

Returns the current [PageableMessagesBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pageablemessagesbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Pageable(p => p.Messages(m => m.Page("Enter page")).Input(true))
                .Scrollable()
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Of(System.String)

Sets the pageable "of" message

#### Parameters

##### message - `System.String`

The text for the label displayed before the pager input.

#### RETURNS

Returns the current [PageableMessagesBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pageablemessagesbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Pageable(p => p.Messages(m => m.Of("from {0}")))
                .Scrollable()
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### ItemsPerPage(System.String)

Sets the pageable "items per page" message

#### Parameters

##### message - `System.String`

The text for the label displayed after the page size DropDownList.

#### RETURNS

Returns the current [PageableMessagesBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pageablemessagesbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Pageable(p => p.Messages(m => m.ItemsPerPage("data items per pagee")))
                .Scrollable()
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### First(System.String)

Sets the pageable "first" message

#### Parameters

##### message - `System.String`

The tooltip text of the Go to the fisrt page button.

#### RETURNS

Returns the current [PageableMessagesBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pageablemessagesbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Pageable(p => p.Messages(m => m.First("First page")))
                .Scrollable()
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Previous(System.String)

Sets the pageable "previous" message

#### Parameters

##### message - `System.String`

The text for the Tooltip of the button which goes to the previous page.

#### RETURNS

Returns the current [PageableMessagesBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pageablemessagesbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Pageable(p => p.Messages(m => m.Previous("Previous page")))
                .Scrollable()
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Next(System.String)

Sets the pageable "next" message

#### Parameters

##### message - `System.String`

The Tooltip text message of the button which goes to the next page.

#### RETURNS

Returns the current [PageableMessagesBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pageablemessagesbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Pageable(p => p.Messages(m => m.Next("Next page")))
                .Scrollable()
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Last(System.String)

Sets the pageable "last" message

#### Parameters

##### message - `System.String`

The tooltip text of the Go to the last page button.

#### RETURNS

Returns the current [PageableMessagesBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pageablemessagesbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Pageable(p => p.Messages(m => m.Last("Last page")))
                .Scrollable()
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### Refresh(System.String)

Sets the pageable "refresh" message

#### Parameters

##### message - `System.String`

The text for the Tooltip of the refresh button.

#### RETURNS

Returns the current [PageableMessagesBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pageablemessagesbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Pageable(p => p.Messages(m => m.Refresh("Refresh the grid")))
                .Scrollable()
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### MorePages(System.String)

Sets the pageable "more pages" message

#### Parameters

##### message - `System.String`

The tooltip text of the ellipsis button, which appears when the number of pages is greater than the buttonCount.

#### RETURNS

Returns the current [PageableMessagesBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pageablemessagesbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Pageable(p => p.Messages(m => m.MorePages("More pages")))
                .Scrollable()
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### PageButtonLabel(System.String)

The Tooltip that is showing when hover on a page in the pager. The {0} parameter stands for the page number hovered.

#### Parameters

##### message - `System.String`

The text of the Tooltip that is showing when hover on a page in the pager.

#### RETURNS

Returns the current [PageableMessagesBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pageablemessagesbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Pageable(p => p.Messages(m => m.PageButtonLabel("page {0}")))
                .Scrollable()
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### NumbersSelectLabel(System.String)

The label applied to the Pager select element (when visible).

#### Parameters

##### value - `System.String`

The label text.

#### RETURNS

Returns the current [PageableMessagesBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pageablemessagesbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Pageable(p => p.Messages(m => m.NumbersSelectLabel("select page")))
                .Scrollable()
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```

### PageSizeDropDownLabel(System.String)

The label applied to the page size dropdown.

#### Parameters

##### value - `System.String`

The label text.

#### RETURNS

Returns the current [PageableMessagesBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/pageablemessagesbuilder) instance.

#### Example

```
 
            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID).Filterable(false);
                    columns.Bound(p => p.Freight);
                })
                .Pageable(p => p.Messages(m => m.PageSizeDropDownLabel("page sizes")))
                .Scrollable()
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )
              
```
