customize

redefines the "type" property

void customize(object obj);

Parameters

objobjectthe hash of 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