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