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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.