Opened 11 years ago

Closed 11 years ago

#7061 closed enhancement (fixed)

dijit._Container/dijit._Contained: add index-getting functions

Reported by: nathan Owned by: nathan
Priority: high Milestone: 1.2
Component: Dojox Version: 1.1.1
Keywords: Cc: Bryan Forbes
Blocked By: Blocking:

Description

Since we allow adding children at certain indexes, it would be helpful to have mechanisms to get those indexes from existing children.

For _Container, we should have a getIndexOfChild, and for _Contained, should have a getIndexInParent functions.

It would probably be good to add in a way to remove children by index as well

Change History (2)

comment:1 Changed 11 years ago by nathan

Cc: Bryan Forbes added
Status: newassigned

comment:2 Changed 11 years ago by Nathan Toone

Resolution: fixed
Status: assignedclosed

(In [14163]) Fixes #7061 - add in index-based functions for handling children

Note: See TracTickets for help on using tickets.