Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#3862 closed enhancement (fixed)

0.9: Add in support for newItems creating an item at a point in the hierarchy. (Write API)

Reported by: Jared Jurkiewicz Owned by: Jared Jurkiewicz
Priority: high Milestone: 0.9
Component: Data Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

0.9: Add in support for newItems creating an item at a point in the hierarchy. (Write API)

This is an enhancement request that came out of the discussion at: http://dojotoolkit.org/forum/dijit-dijit-0-9/dijit-development-discussion/call-simple-tree#comment-4131

As well as the meeting held on: http://www.dojotoolkit.org/book/developers-notebook/data-access-meetings/data-access-meeting-2007-07-24

The API adds a new argument to newItem to allow passing parent info (Since add, odoesn't break existing code), as well as a modification to notification's onSet to pass in any parent info to the item creation (if it was assigned to a particular parent. If it wasn't ... then it is just a null param.

Attachments (1)

dojo.data_HierarchicalData_20070726.patch (47.4 KB) - added by Jared Jurkiewicz 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by Jared Jurkiewicz

comment:1 Changed 12 years ago by Jared Jurkiewicz

Status: newassigned

Changes tested on: IE 6 IE 7 Firefox 2.0.0.5 Firefox 1.5.0.12 Seamonkey: 1.1.2 Opera 9.2 Safari B3

comment:2 Changed 12 years ago by Jared Jurkiewicz

Resolution: fixed
Status: assignedclosed

(In [9810]) Adding a small bit to the Write API. fixes #3862

comment:3 Changed 12 years ago by Jared Jurkiewicz

(In [9813]) Minor doc update that was missed. refs #3862

Note: See TracTickets for help on using tickets.