index

returns the cell index in the layout collection

number index(object obj);

Parameters

objobjectthe cell object

Returns

numberthe cell index in the collection of the parent layout

Example

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

See also
  • Articles
  • 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.