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

$$("mytoolbar").index($$('button1'));

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix lightweight js framework and page of javascript toolbar product.