Opened 11 years ago

Closed 3 years ago

#7358 closed enhancement (patchwelcome)

dojo.dnd.Container: callback functions onItemInsert, onItemDelete

Reported by: chucky Owned by: Eugene Lazutkin
Priority: low Milestone: 1.13
Component: DnD Version: 1.1.1
Keywords: DnD Container callback needsreview Cc: tomas.mikula@…
Blocked By: Blocking:

Description

Currently it is not straightforward to trigger some user action when an item is inserted into or deleted from the container. To this end I propose that Container constructor recognizes additional parameters: onItemInsert and onItemDelete of type function(container, data [,thisObj]). These callback functions would be called on insertion and deletion of an item, respectively.

See also http://dojotoolkit.org/forum/dojo-core-dojo-0-9/dojo-core-development-discussion/suggestion-dojo-dnd-container-callback-fun

Change History (4)

comment:1 Changed 11 years ago by dylan

Milestone: tbdfuture

comment:2 Changed 11 years ago by Eugene Lazutkin

Moving all open ticketd to the future.

comment:3 Changed 7 years ago by ben hockey

Keywords: needsreview added
Priority: highlow

i'm trying to identify stale tickets. if there is a need to keep this ticket open, please replace the "needsreview" keyword with "reviewed". if there is no need to keep this ticket open then please close it.

comment:4 Changed 3 years ago by dylan

Milestone: future1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in the past 5+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.