Ticket #1630 (closed defect: wontfix)

Opened 7 months ago

Last modified 7 months ago

Tree component shouldn't show expanding arrow on items with no children

Reported by: Teemu Pontelin Owned by: Marko Gronroos
Priority: undefined Milestone:
Component: gwt-adapter-client Version:
Keywords: Cc:
Known Issue description:
Hours estimate: Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: yes Contract:

Description

On Tree component there is no need to render the expanding arrow in front of an item if the item has no children.

This would also simplify the usage since you didn't have to call setChildrenAllowed method anymore to get rid of the unnecessary arrows.

Change History

Changed 7 months ago by Matti Tahvonen

  • status changed from new to closed
  • resolution set to wontfix

This actually was like this some months, but was reverted back to original state in [4061]. I truly agree that in most places this would be the desired functionality, but this has really been designed to work this way in the frameworks early steps.

The rationale is that container does not necessary know if it has children or not until some heavy operation is done. With the current architecture this subtree creation can be postponed until tree node is expanded.

Note: See TracTickets for help on using tickets.