This is a migrated thread and some comments may be shown as answers.

non-grid pager problem

3 Answers 62 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 23 Oct 2019, 10:26 AM

Hope this is the right forum, there isn't one for "pager".

We have a datasource that is associated with a pager object - directly, not via a grid.

This worked fine in 2019/1 but when we updated to 2019/3 it stopped working - rather than having a list of page numbers left-to-right along the bottom, we just have a single page number with a dropdown menu associated with it.

This dojo illustrates:

https://dojo.telerik.com/IYolIKoL

Adding the setting

responsive: false

fixes the issue.

Is this an intended change in behaviour? I can't see it documented anywhere, and we don't get the same thing happening if the pager is associated with a grid rather than a datastore.

 

3 Answers, 1 is accepted

Sort by
0
Aleksandar
Telerik team
answered on 25 Oct 2019, 07:08 AM

Hello Simon,

The responsive property was introduced after the first release for 2019 to provide the functionality to enable/disable the responsive Pager. Kendo Grid also provides the option to configure the responsiveness of the pager via the property pageable.responsive.

I hope this clarifies the behavior of the Kendo Pager. Get back to me if you have further questions.

Regards,
Aleksandar
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Simon
Top achievements
Rank 1
answered on 28 Oct 2019, 10:49 AM
Thanks. We have only just upgraded from 2019 R1 to 2019 R3, and didn't get this behaviour in the previous version so if as you say it was added after R1 I guess that explains it. But doesn't explain why we don't see the same thing when the pager is part of a grid, shouldn't the two be the same?
0
Aleksandar
Telerik team
answered on 30 Oct 2019, 10:39 AM

Hello Simon,

If the pageable.responsive property is not defined, then by default, the pager is responsive. In this dojo, a grid and pager are initialized , without defining the pageable.responsive property and both are initialized as responsive. 

Would it be possible to modify the example or send a runnable sample where the behavior is isolated, so I can investigate further?

Regards,
Aleksandar
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Data Source
Asked by
Simon
Top achievements
Rank 1
Answers by
Aleksandar
Telerik team
Simon
Top achievements
Rank 1
Share this question
or