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

See also
Back to top