Auto items per page

The example and code below show what you need to get auto items per page functionality for the pagination of a datagrid.

Resize the page vertically to see the number of rows being displayed per page adapt to the available height.

The AutoItemsPerPage parameter must be set to true and obviously Pagination must be used as well for this to work. Also, the DataGrid container must have styling that makes it automatially adapt to the available height.

An example of how that can be done for this demo site layout is shown in the <style> section below

Example
Code
Gold
Silver
Bronze
Total
al0022
dz2013
ar1113
am0314
au18191653
at2035
az2237
be31610
bh2114
bw1102
91 items
Download: 
An error has occurred. This application may no longer respond until reloaded. Reload 🗙