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

Setting the ListView pageable.pageSize via MVVM throws error #6918

Closed
kendo-bot opened this issue Jul 11, 2022 · 2 comments
Closed

Setting the ListView pageable.pageSize via MVVM throws error #6918

kendo-bot opened this issue Jul 11, 2022 · 2 comments
Assignees
Labels
Bug C: ListView FP: Completed Sync status with associated Feedback Item jQuery SEV: High
Milestone

Comments

@kendo-bot
Copy link
Contributor

I'm submitting a...

Bug Report

Current behavior

The ListView throws an error when you attempt to set the pageSize configuration in MVVM scenario. If the pageSize is moved to the dataSource configuration, the error does not exist, however the paging still doesn't work as expected.

Expected behavior

The paging should work as expected in an MVVM scenario.

Minimal reproduction of the problem with instructions

Run the following Dojo to see the error.

https://dojo.telerik.com/ERegiQEN/3

To see the second problem, set the data-pageable value to "true" and configure the pageSize inside the dataSource widget itself. The ListView shows only 1 page of data.

Environment

Package versions: 2022.2.621
Browser: all

@zstoyanova9
Copy link

In the case that the ListView has a Kendo UI DataSource instance assigned for its dataSource, the pageSize property should be specified in the dataSource configuration, not in the ListView pageable option.

Thus, the configuration in the linked Dojo is not valid and would still cause an issue to emerge even after the deployment of a fix for this bug.

@github-actions github-actions bot added FP: Completed Sync status with associated Feedback Item and removed FP: Unplanned Sync status with associated Feedback Item labels Nov 23, 2023
@sspasova
Copy link

I am linking a Dojo with the correct configuration that will work after the deployment of the fix - https://dojo.telerik.com/ERegiQEN/5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug C: ListView FP: Completed Sync status with associated Feedback Item jQuery SEV: High
Projects
None yet
Development

No branches or pull requests

5 participants