customize

redefines the "type" property

void customize(object obj);
objobjectthe object with new 'type' settings

Example

mylist = webix.ui({
    view:"list",
    ...
    type:{
        height:50
    }
});
 
mylist.customize({ height:30});
mylist.refresh();

Details

Remember, the method doesn't cause repainting of the component. That's why after calling the customize() method you should call method refresh or render to apply the newly-specified value

To change any component property (not the "type") - use define method.

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix easy javascript framework and page of javascript context menu product.