index

returns the cell index in the layout collection

number index(object obj);
objobjectthe cell object
numberthe cell index in the collection of the parent layout

Example

$$("mylayout").index($$('cell1'));

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.