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

      'select_checkbox_5' => [ 
         'exclude' => 1,
         'label' => 'select_checkbox_5 dividers, expandAll',
         'config' => [ 
            'type' => 'select',
            'renderType' => 'selectCheckBox',
            'appearance' => [ 
               'expandAll' => true,
            ],
            'items' => [ 
               '0' => [ 
                  '0' => 'div 1',
                  '1' => '--div--',
               ],
               '1' => [ 
                  '0' => 'foo 1',
                  '1' => 1,
               ],
               '2' => [ 
                  '0' => 'foo 2',
                  '1' => 2,
               ],
               '3' => [ 
                  '0' => 'foo 3',
                  '1' => 3,
               ],
               '4' => [ 
                  '0' => 'div 2',
                  '1' => '--div--',
               ],
               '5' => [ 
                  '0' => 'foo 4',
                  '1' => 4,
               ],
               '6' => [ 
                  '0' => 'foo 5',
                  '1' => 5,
               ],
            ],
         ],
      ],
      // Example from extension "styleguide", table "tx_styleguide_elements_select"