Project

General

Profile

Bug #92804 » tx_test_parent.php

Johannes Schlier, 2020-11-09 15:37

 
<?php

return [
'ctrl' => [
'title' => 'IRRE sorting test parent record',
'label' => 'name'
],
'columns' => [
'name' => [
'label' => 'Name',
'config' => [
'type' => 'input'
]
],
'children' => [
'label' => 'Children IRRE records',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_test_child',
'foreign_sortby' => 'sorting',
'appearance' => [
'useSortable' => true,
'enabledControls' => [
'sort' => true,
'dragdrop' => true
]
],
]
]
],
'types' => [
0 => [
'showitem' => 'name,children'
]
]
];
(3-3/4)