- Notifications
You must be signed in to change notification settings - Fork 81
Added new kb article set-all-page-size-option-as-default #1812
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
Added new kb article set-all-page-size-option-as-default #1812
Conversation
| 1. In the component's initialization method (`OnInitializedAsync`), load the data and set the `PageSize` property to the total count of the records. | ||
| 2. Add the "All" option (`null`) to the `PageSizes` collection. | ||
| 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be a step about setting PageSize to the data count
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is listed in the first step:
- In the component's initialization method (
OnInitializedAsync), load the data and set thePageSizeproperty to the total count of the records.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Refactor tags
- Rename the slug
- Add a step for pagesize = data count
- Add caption for the code snippet
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
| Hello @ntacheva, Check the below option if you would like to automatically generate PR to production. The automation uses the branch for the cherry-pick, and then will delete the branch. Please, do not delete it manually.
|
| Here you are the link to your PR to production: 1832 |
No description provided.