How i can duplicate group of elements?

Hello!

How i can duplicate group of elements and get list of uploaded files?
http://webix.com/snippet/a9dc9589

Thanks.

Hello,

(1) You cannot reuse already existing elements, but you can store their config and use it afterwards to add views dynamically:

var rows = [uploader, list];
$$('uploadFields').addView({rows:webix.copy(rows)})

(2) The list of files can be accessed via files object of the Uploader, or as data of the related list (if any):

$$("myuploader").files.data;
$$("mylist").data;

Both notations point to DataStore object so you can apply all its methods, for instance, each, to iterate the array of file names.

Check the snippet, please: http://webix.com/snippet/1cc7d0b9