ColumnsControls component


The ColumnsControls component is a collection of columns. It provides an interface for showing and hiding columns. The interface contains the following information:

  • total number of all available columns in a grid
  • number of columns currently active/displayed

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

ColumnsControls configuration

Extends all uiCollection configuration.

ColumnsControls-specific configuration:

Option Description Type Default Value
minVisible Minimum number of columns that must be visible. Number 1
maxVisible Maximum number of columns that can be visible. Number 30
template The path to the component’s .html template. String ui/grid/controls/columns