You are reading the documentation for version 2.2. Magento 2.3 is the latest version available. Ensure you are reading the documentation for your version of Magento.

Bookmarks component

The Bookmarks component stores active and changed state of a grid implemented using Listing. It includes the state of filters, columns position, applied sorting, pagination, and so on.

Configuration options

Option Description Type Default Value
newViewLabel Default label for a new bookmark. String New View
template Path to the component’s .html template. String ui/grid/controls/bookmarks/bookmarks
viewTmpl Path to the .html template used to render each bookmark in the list. String ui/grid/controls/bookmarks/view
defaultIndex The index of the default view. String default
activeIndex The index of the current view. String default
viewsArray The array of views. Array default

Source files

Extends uiCollection: