Documentation

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

As a parameter the property function takes the item object.

Back to top