appearance - selectCheckBox

appearance > selectCheckBox
Path

$GLOBALS['TCA'][$table]['columns'][$field]['config']

Type

array

Scope

Display

RenderType

selectCheckBox

Options for refining the appearance of selectCheckBox fields.

expandAll (boolean)

If set, all select groups are initially expanded.

Select checkbox, all divs expanded

../../../../_images/SelectCheckbox5.png
EXT:styleguide/Configuration/TCA/tx_styleguide_elements_select.php
[
    'columns' => [
        'select_checkbox_5' => [
            'label' => 'select_checkbox_5 dividers, expandAll',
            'config' => [
                'type' => 'select',
                'renderType' => 'selectCheckBox',
                'appearance' => [
                    'expandAll' => true,
                ],
                'items' => [
                    [
                        'div 1',
                        '--div--',
                    ],
                    [
                        'foo 1',
                        1,
                    ],
                    [
                        'foo 2',
                        2,
                    ],
                    [
                        'foo 3',
                        3,
                    ],
                    [
                        'div 2',
                        '--div--',
                    ],
                    [
                        'foo 4',
                        4,
                    ],
                    [
                        'foo 5',
                        5,
                    ],
                ],
            ],
        ],
    ],
]