type

an object that specifies items presentation

object|string type;

Example

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

Related samples

Details

Attributes of the type object:

  • css - (string) the name of a css class that will be applied to component items. The default name of the applied class is 'default'.
  • height - (number, string) the height of an item in the component. Note that type.height:'auto' and autoheight:true do not work together.
  • template - (function, string) an html template that will define item presentation in the component.
  • width - (number, string) the width of the items list. The default value is 'auto'.
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix web development library and page of javascript library list product.