Ticket #7358 (new enhancement)
dojo.dnd.Container: callback functions onItemInsert, onItemDelete
| Reported by: | chucky | Owned by: | elazutkin |
|---|---|---|---|
| Priority: | normal | Milestone: | future |
| Component: | DnD | Version: | 1.1.1 |
| Severity: | normal | Keywords: | DnD Container callback |
| Cc: | tomas.mikula@… |
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.
Change History
Note: See
TracTickets for help on using
tickets.