Opened 10 years ago

Closed 10 years ago

#10770 closed defect (fixed)

Tree: leaf icon doesn't get updated until the user clicks the expando icon

Reported by: Simon Speich Owned by: bill
Priority: high Milestone: 1.5
Component: Dijit Version: 1.4.0
Keywords: tree, rest, notification api Cc:
Blocked By: Blocking:

Description

I'm using a JsonRestStore? and a tree. If I create a new dijit.tree item and append it as a child to another item, the tree and the expando icon is updated, but not the leaf icon.

See thread on dojo-interest: http://groups.google.com/group/dojo-interest/browse_thread/thread/ae5074cef4ed64fe

or demo on: http://www.speich.net/articles/dojo-jsonreststore.php

or on Dijit Tree Test - dojo.data.Notification API support: http://download.dojotoolkit.org/release-1.4.0/dojo-release-1.4.0/dijit/tests/test_Tree_Notification_API_Support.html

Change History (2)

comment:1 Changed 10 years ago by bill

Component: GeneralDijit
Milestone: tbd1.5
Owner: changed from anonymous to bill
Status: newassigned
Summary: Leaf icon doesn't get updated until the user clicks the expando iconTree: leaf icon doesn't get updated until the user clicks the expando icon

comment:2 Changed 10 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [21409]) Update TreeNode icon (typically between folder and leaf icon) when the TreeNode switches between having and not having children. Fixes #10770 !strict.

Note: See TracTickets for help on using tickets.