xCount
defines the width of the 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 makes sense only for a horizontal list (the one featuring "x" layout).
Possible values for the property are:
- a number>0;
- 0 to disable xCount (to calculate the number of items on the base of the component size).
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.