appearance - selectCheckBox¶
-
appearance[selectCheckBox]
¶ -
- Type
- array
- Path
- $GLOBALS['TCA'][$table]['columns'][$field]['config']
- 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¶
[
'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,
],
],
],
],
],
]
Copied!