returns selected object

object getSelectedItem( [boolean as_array] );
as_arraybooleanif set, always returns an array of objects
objectcurrently selected item


var item = list.getSelectedItem();
var ar_selected = list.getSelectedItem(true);

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