Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03
-
Fix Version/s: 4.1, EE-3.3.0.GA_P04
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P2
-
Support Case References:Support Case #13610 - https://icesoft.my.salesforce.com/5007000001TqbiX
Description
The leaf nodes of the ace:tree that is lazily loaded show the expand and contract (+/-) icons when they should not. Clicking the icons don't do anything.
This can be reproduced with the Showcase demo for the ace:tree Lazy Loading. (EE 3.3.0 and 4.0.0).
This can be reproduced with the Showcase demo for the ace:tree Lazy Loading. (EE 3.3.0 and 4.0.0).
The obvious solution here would require that the lazy-loaded tree code always pre-load one additional level of the tree hierarchy when expanding a branch node so that each child of the branch can be determined to be either another branch node (display +/- controls) or a leaf node (no +/- controls).
This may cause some undesirable performance degradation on very large-data sets, so we should make this an optional behaviour, configurable via a new value for the existing "expansionMode" attribute: org.icefaces.ace.component.tree.TreeExpansionMode.extServer (extended server).