Position Column

Display arrows to move the current row up and down to change its position.

type position
option
class Enhavo\Bundle\AppBundle\Table\Column\PositionColumn

Option

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