Use webix.ui inside template function?

Is it possible to build the HTML inside of a template function using the webix.ui function?

For example, what if I wanted to use the webix rows:[] and cols:[] constructs instead of HTML divs in the following dataview template function?

template:function(obj){
var dateX = webix.Date.dateToStr("%Y")(new Date(obj.year*1000));
return “

”+obj.title+"
Year: “+dateX+”, rank:"+obj.rank
},

There is no full integration for such use-case.

It is possible, to use events to implement such solution, but it has a potential memory leaking issue.

Check the next snippet

http://webix.com/snippet/9854d658

Here, after rendering the elements of dataview, code inits a separate webix UI for each item.