Warning: You are browsing the documentation from version 4 to 10 of Pimcore. Please visit https://pimcore.com/docs/platform/ for the latest versions of Pimcore.
Version: Edit on GitHub

Grid Column Configuration Operators

Grid Configuration Operators allow you to add special columns to your grid which are somehow assembled or converted using operators listed below.

Configurator Button

The basic concept is that an operator has one or more data attributes as child elements and executes its operation on their values. For example, the ObjectFieldGetter has the manufacturer data attribute as child and calls getName on the value of the manufacturer attribute (which is a manufacturer data object). This results in a column that contains the manufacturer name.

With some operators this basic concept gets extended or reversed, please see detailed descriptions in their docs.

In addition to that, there are also operators who work without any data attribute as child. One example for that is the Text operator.

Operator Overview

Extractors

Formatters

Others

Renderer

By default, the string representation of the result value is displayed.

Render example 1

This can be changed wrapping the result into a renderer operator. In the following example, the image (the result of getImage_1()) would be rendered as image.

Render example 2

Transformers