getUnits

returns unit values

array getUnits();

Returns

arrayJS array of unit values arranged in alphabetical order

Example

var units = $$('list').getUnits(); // ->[1, C, M, T]

Related samples

Details

The method returns the unit criterion you set by the uniteBy property:

uniteBy:function(obj){
            return obj.title.substr(0,1); //first letters of item titles
        }
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix web development library and page of javascript library list product.