Attention
TYPO3 v11 has reached end-of-life as of October 31th 2024 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v10 here: TYPO3 ELTS.
Examples
Simple side-by-side select field
[
'columns' => [
'select_multiplesidebyside_1' => [
'exclude' => 1,
'label' => 'select_multiplesidebyside_1 autoSizeMax=10, size=3 description',
'description' => 'field description',
'config' => [
'type' => 'select',
'renderType' => 'selectMultipleSideBySide',
'items' => [
[
'foo 1',
1,
],
[
'foo 2',
2,
],
[
'a divider',
'--div--',
],
[
'foo 3',
3,
],
[
'foo 4',
4,
],
[
'foo 5',
5,
],
[
'foo 6',
6,
],
],
'size' => 3,
'autoSizeMax' => 10,
'multiple' => true,
],
],
],
]
Copied!
Side-by-side view with filter
[
'columns' => [
'select_multiplesidebyside_5' => [
'exclude' => 1,
'label' => 'select_multiplesidebyside_5 multiSelectFilterItems',
'config' => [
'type' => 'select',
'renderType' => 'selectMultipleSideBySide',
'items' => [
[
'foo 1',
1,
],
[
'foo 2',
2,
],
[
'foo 3',
3,
],
[
'bar',
4,
],
],
'multiSelectFilterItems' => [
[
'',
'',
],
[
'foo',
'foo',
],
[
'bar',
'bar',
],
],
],
],
],
]
Copied!
Side-by-side select with field controls
[
'columns' => [
'select_multiplesidebyside_6' => [
'exclude' => 1,
'label' => 'select_multiplesidebyside_6 fieldControl',
'config' => [
'type' => 'select',
'renderType' => 'selectMultipleSideBySide',
'foreign_table' => 'tx_styleguide_staticdata',
'size' => 5,
'autoSizeMax' => 20,
'fieldControl' => [
'editPopup' => [
'disabled' => false,
'options' => [
'windowOpenParameters' => 'height=300,width=500,status=0,menubar=0,scrollbars=1',
],
],
'addRecord' => [
'disabled' => false,
],
'listModule' => [
'disabled' => false,
],
],
],
],
],
]
Copied!
Using a MM table
[
'columns' => [
'select_multiplesidebyside_8' => [
'exclude' => 1,
'label' => 'select_multiplesidebyside_8 foreign_table mm',
'config' => [
'type' => 'select',
'renderType' => 'selectMultipleSideBySide',
'foreign_table' => 'tx_styleguide_staticdata',
'MM' => 'tx_styleguide_elements_select_multiplesidebyside_8_mm',
'size' => 3,
'autoSizeMax' => 10,
],
],
],
]
Copied!