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
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.