GridPageableSettingsTagHelper
Example
Razor
<pageable>
<messages />
</pageable>
ChildTags
Tag Name | Details |
---|---|
messages | GridPageableMessagesSettingsTagHelper |
Attributes
Attribute | Type | Description |
---|---|---|
adaptive-mode | AdaptiveMode | Specifies a value whether the page sizes dropdown will be adaptive |
always-visible | Boolean | By default the grid will show the pager even when total amount of items in the DataSource is less than the pageSize. |
button-count | Double | The maximum number of buttons displayed in the numeric pager. The pager will display ellipsis (...) if there are more pages than the specified number. |
enabled | Boolean | Enables or disables the configuration. |
info | Boolean | If set to true the pager will display information about the current page and total number of data items. By default the paging information is displayed. |
input | Boolean | If set to true the pager will display an input element which allows the user to type a specific page number. By default the page input is not displayed.Using pageable.input and pageable.numeric at the same time is not recommended. |
numeric | Boolean | If set to true the pager will display buttons for navigating to specific pages. By default those buttons are displayed.Using pageable.numeric and pageable.input at the same time is not recommended. |
page-size | Double | Specifies the possible page size values. |
page-sizes | IEnumerable | Specifies the possible page size values. |
page-sizes-enabled | Boolean | |
position | PagerPosition | Specifies the position in which the grid pager will be rendered. Valid values are "top" and "bottom" (default). |
previous-next | Boolean | If set to true the pager will display buttons for going to the first, previous, next and last pages. By default those buttons are displayed. |
refresh | Boolean | If set to true the pager will display the refresh button. Clicking the refresh button will refresh the grid. By default the refresh button is not displayed. |
responsive | Boolean | If set to false the pager will not be responsive. By default the pager is responsive. |