Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge kb-grid-pagesize-all-1-2146 into production #2152

Merged
merged 2 commits into from
Jun 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions knowledge-base/grid-set-all-page-size-option-as-default.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@ res_type: kb
---

## Environment

<table>
<tbody>
<tr>
<td>Product</td>
<td>Grid for Blazor</td>
</tr>
</tbody>
<tbody>
<tr>
<td>Product</td>
<td>Grid for Blazor</td>
</tr>
<tr>
<td>Version</td>
<td>5.1.1 or earlier</td>
</tr>
</tbody>
</table>

## Description
Expand All @@ -32,6 +37,8 @@ The `PageSize` parameter of the Grid accepts a non-nullable `int` by design. To
3. Bind the `PageSize` property to the `@bind-PageSize` attribute of the `TelerikGrid` component.
4. Specify the `PageSizes` collection in the `GridPagerSettings` component to display the dropdown with the available page sizes.

> Starting with Telerik UI for Blazor 6.0.0, the above approach causes the pager DropDownList tо display the actual item count. The **"All"** item for the DropDownList shows only when the user selects it manually.

>caption Set "All" PageSize Option as Default

```
Expand Down
Loading