uniteBy

sets the template according which items will be grouped in units.

function uniteBy;

Example

webix.ui({
    view:"unitlist",
    ...
    uniteBy:function(obj){
        return obj.name.substr(0,1);
    }
});

Details

The property function receives one parameter - the item object.

Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix widget library and page of object list javascript product.