xCount

defines width of view in items

number xCount;

Example

// width of view will be enough to show 2 items
webix.ui({
    view:"list", 
    xCount:6,
    scroll:"x",
    layout:"x",
});

Related samples

Details

The property make sense only for a horizontal list (the one featuring "x" layout).

Possible values for the property are:

  • desired number;
  • 0 to disable xCount ( calculate the number of item on the base of component size).
See also
  • API
  • Articles
  • Back to top
    If you have not checked yet, be sure to visit site of our main product Webix widget library and page of object list javascript product.