Paging component

Overview

The Paging component implements pagination in grids implemented using Listing. It also creates an instance of the child Sizes component which allows to define the number of records displayed in the associated table.

Constructor: app/code/Magento/Ui/view/base/web/js/grid/paging/paging.js

Paging configuration

Extends all UiElement configuration.

Paging-specific configuration:

Option Description Type Default Value
totalTmpl Path to the .html template for rendering the total amount of found records. String ui/grid/paging-total
sizesConfig
  • minSize
  • maxSize
Configuration that is passed to the Sizes component: minimum and maximum number of elements on a page. Object
  • 1
  • 999
template The path to the component’s .html template. String ui/grid/paging/paging