New to KendoReact? Learn about KendoReact Free.
Responsive Design
The Pager supports responsive web design by adapting its layout based on the set width or the available screen size. To enable the responsive layout, set the responsive
property to true
.
Visible Pager Elements
Based on its width, the Pager component determines which internal elements will be rendered. When the Pager width is greater than or equal to 768 pixels, it will display all elements as follows:
- The Previous and Next buttons.
- Page number buttons or a numeric input:
- The drop-down list with the page sizes.
- The
info
element.
Breakpoints
When the Pager width is less than the width of the screen, some of its elements are hidden as follows:
- If Pager's
type
is set to'numeric'
, it transforms to'input'
. - Then the
info
element will be hidden. - Then the
Page
title will be hidden. - Then the
items per page
title will be hidden. - Then the page-size drop-down list will also be hidden.
The following example demonstrates the different Pager layouts based on its width. Try to resize the browser width to see the different layouts:
Change Theme
Theme
Loading ...