Grid : Random paging option

1 Answer 97 Views
Grid Pager
JG
Top achievements
Rank 2
Iron
JG asked on 08 Jul 2021, 08:12 AM

We  seem to be seeing a mis-match in paging options on grids used across our system.

The majority have the following default: 

However, we're seeing a couple grids with the drop-down version used:

 

 

What could cause this? There's no paging options set on either of the grids however both are showing different paging options.

For reference, here's a snippit of the grid displaying the paging drop-down: 

 

Petar
Telerik team
commented on 12 Jul 2021, 08:41 AM

Hi JG.

The reported behavior is expected as by default the Responsive option of Grid's pager is set to true. If you use the below configuration, all Grids' pagers will look the same way.

.Pageable(pageable => pageable
           .Responsive(false)
)

More about the Responsive configuration of the Pager, you can find in this article.

I hope the above will help you resolve the reported issue.

JG
Top achievements
Rank 2
Iron
commented on 12 Jul 2021, 12:21 PM

perfect - thank you

1 Answer, 1 is accepted

Sort by
0
Accepted
JG
Top achievements
Rank 2
Iron
answered on 12 Jul 2021, 12:21 PM

Thanks to Petar for the solution: 

The reported behavior is expected as by default the Responsive option of Grid's pager is set to true. If you use the below configuration, all Grids' pagers will look the same way.

.Pageable(pageable => pageable
           .Responsive(false)
)

More about the Responsive configuration of the Pager, you can find in this article.

Tags
Grid Pager
Asked by
JG
Top achievements
Rank 2
Iron
Answers by
JG
Top achievements
Rank 2
Iron
Share this question
or