Project

General

Profile

Actions

Bug #24143

closed

tcatree: strange behaviour with appearance->expandAll

Added by Georg Ringer almost 14 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-12-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

2 issues with the current tree:

1st) If "'expandAll' => TRUE," is set, the tree is not expanded but collapsed. Maybe it would be better to have same naming scheme as IRRE with collapseAll ?

2nd) If the tree is collpsed from the beginning, no records are shown and the "+" sign is not visible. If I click with a double click and then with a single click (sic!) on the dotted lines in front of the header icon, the plus/minus sign appears and the tree opens. See screenshot

Tree configuration:
'parentcategory' => array(
'exclude' => 0,
'l10n_mode' => 'exclude',
'label' => $ll . 'tx_news2_domain_model_category.parentcategory',
'config' => array(
'type' => 'select',
'foreign_table' => 'tx_news2_domain_model_category',
'renderMode' => 'tree',
'subType' => 'db',
'treeConfig' => array(
'parentField' => 'parentcategory',
'appearance' => array(
'expandAll' => TRUE,
'showHeader' => TRUE,
),
),
'size' => 10,
'autoSizeMax' => 20,
'minitems' => 0,
'maxitems' => 1
)
),
(issue imported from #M16683)


Files

tcatree.gif (4.19 KB) tcatree.gif Administrator Admin, 2010-12-05 17:06
Actions

Also available in: Atom PDF