On the initial page load, Kendo UI Pager is not showing PageSizes drop-down

0 Answers 50 Views
Pager
Evgueni
Top achievements
Rank 1
Iron
Evgueni asked on 18 Mar 2022, 04:17 PM | edited on 18 Mar 2022, 04:17 PM

I have a pager control that needs to show the pageSize drop-down. On the initial load of the page, the drop-down is not shown, but any resize events, even towards making the page narrower result in the drop-down to be shown.

Here is how the pager control is defined:

 


$("#pager").kendoPager({
            dataSource: vm.DataSource,
            pageSizes: [5, 10, 20, 50, 100]
        }).data("kendoPager");

and here is how it looks when the page loads:

and here is how it looks if I resize page in any way, even towards making the page narrower:

My question is why the Page Size drop-down is not visible when the page first loads?

Thanks

 

 

Georgi Denchev
Telerik team
commented on 23 Mar 2022, 10:19 AM

Hi, Evgueni,

I tested the Pager in the Overview demo, however I was unable to reproduce the problem that you're describing.

Could you please share a Dojo sample where the issue can be observed so I can try to debug it? I should be able to provide you with an answer and a possible solution after that.

Best Regards,

Georgi

No answers yet. Maybe you can help?

Tags
Pager
Asked by
Evgueni
Top achievements
Rank 1
Iron
Share this question
or