Multiple Property Column

Shows a list of properties of the given resource.

type multiply_property
require
option
class Enhavo\Bundle\AppBundle\Table\Column\MultiplePropertyColumn

Require

properties

type: string[]

Define a array of properties that should be displayed as list.

buttons:
    myColumn:
        properties:
            - firstname
            - lastname

Option

separator

type: string default: |default_separator|

Define with which char the list should be separated.

columns:
    myColumn:
        separator: 'mySeparator'

width

type: integer default: |default_width|

Define the width of the column. The default value is 1. Because we are using a 12 column bootstrap grid you have to define a width between 1 and 12. Remind that the sum of all columns in a certain table should be 12.

columns:
    myColumn:
        width: [1-12]
        # ... further option

label

type: string default: |default_label|

Overwrite the default label. It will be translated over the translation service automatically. (See translation_domain)

columns:
    myColumn:
        label: myLabel
        # ... further option

translation_domain

type: string default: |default_translation_domain|

Overwrites the default translation_domain.

columns:
    myColumn:
        translation_domain: my_translation_domain
        # ... further option