Magento 2.1.18 is the final 2.1.x release. After June 2019, Magento 2.1.x will no longer receive security patches, quality fixes, or documentation updates.
To maintain your site's performance, security, and PCI compliance, upgrade to the latest version of Magento.

Sizes component

The Sizes component defines the maximum number of displayed records in a table (grid).

Configuration options

Option Description Type Default Value
maxSize Maximum allowed number of rows. Number 20
minSize Minimum number of rows. Number 1
options The initial list of available table sizes (number of rows).
{
[name: number]: SizeOption
}
[20, 30, 50, 100, 200]
template Path to the component’s .html template. String ui/grid/paging/sizes
value Initial number of rows per page. Number 20

SizeOption interface

Option Description Type Required
label Label displayed in the rendered options list. This label is usually equal to the corresponding value property. String | Number Required
value Options identifier which represents the table size. Number Required

Source files

Extends UiElement:

Updated