appearance - selectCheckBox

appearance > selectCheckBox
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
'columns' => [
    'select_checkbox_5' => [
        'exclude' => 1,
        '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,
                ],
            ],
        ],
    ],
]