row组件可以js生成吗?我看代码是不可以。
我通过代码$(this.getElementByXid("row")).html(html);生成了row,但是这些row组件上动态生成output时未成功。怎么处理?
var html = "";
for(var i=0;i<9;i++){
var title = "title"+i;
html = html + "<div component=\"$UI/system/components/bootstrap/row/row\" class=\"row\" xid=\"rowtitle\" style=\"width:100%;\"><div class=\"col col-xs-10\" xid='"+title+"'></div></div>";
}
$(this.getElementByXid("row")).html(html);
for(i=0;i<9;i++){
var title = "title"+i;
this.output(title, title);
}