Loop in webix

Hello,

How to use the loop in webix to get the following result:

webix.ui({
type:“line”,
rows: [
{ template:“Row 1”},
{ template:“Row 2”},
{ template:“Row 3”},
{ template:“Row 4”},
{ template:“Row 5”}
]
});

https://webix.com/snippet/c23c5afd

Hello!
If you want to create a loop to get a result that you showed, you should use the for loop.
There is an example: https://webix.com/snippet/ac81c709