Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#2782 closed task (fixed)

Tree: port to dijit

Reported by: bill Owned by: bill
Priority: high Milestone: 0.9beta
Component: Dijit Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

Based on Dojo 0.4/TreeV3, but won't port DnD or selections, see http://dojotoolkit.org/developer/dijit/spec/Tree for details.

Change History (13)

comment:1 Changed 13 years ago by bill

(In [8231]) Refs #2782

comment:2 Changed 13 years ago by bill

(In [8278]) Intermediate checkin of Tree code (based on Dojo 0.4 TreeV3, but without DnD, editing, or selection).

The code is split into Tree, the visual part, and Controller. Controller responds to events from the Tree. For instance, when the user clicks the +/- expando icon, the tree sends a "toggleOpen" event, and then the Controllerqueries the dojo.data.Store to get the data and sends it to tree to display it.

Nothing is working yet; just an intermediate checkin.

Refs #2782

comment:3 Changed 13 years ago by bill

Description: modified (diff)
Summary: port TreeV3 to dijitTree: port to dijit
Type: defecttask
Version: 0.4.20.9

comment:4 Changed 13 years ago by bill

(In [8405]) Rough draft of tree <--> dojo.data connection. This code is pretty small so maybe I'll roll it into Controller.js instead of having a separate file. Refs #2782.

comment:5 Changed 13 years ago by bill

(In [8410]) More work on Tree. Refs #2782.

comment:6 Changed 13 years ago by bill

(In [8435]) More work on tree. Combined DataContoller?.js into Controller.js, and removed Listener.js for something much simpler.

Refs #2782.

comment:7 Changed 13 years ago by bill

(In [8533]) Tree basically working, at least on FF and Webkit. Not on IE yet. Refs #2782.

comment:8 Changed 13 years ago by alex

(In [8584]) style cleanups and fixing trailing commas that were breaking the Tree on IE. Refs #2782

comment:9 Changed 12 years ago by bill

Component: WidgetsDijit

comment:10 Changed 12 years ago by bill

(In [8819]) Use new way of declaring the store as a widget. Refs #2782

comment:11 Changed 12 years ago by bill

Resolution: fixed
Status: newclosed

This is basically finished; maybe some code cleanup to be done. Will file separate bugs for any remaining issues.

comment:12 Changed 12 years ago by bill

(In [9963]) Fix tree class names to start with dijit. Refs #2782

comment:13 Changed 12 years ago by bill

(In [9996]) Add example of watching execute events. Refs #2782.

Note: See TracTickets for help on using tickets.