getUnits

returns unit values

array getUnits();
arrayan array of unit values arranged in the alphabetical order

Example

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

Related samples

Details

The method returns the units 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.