var self = this;
var flowTable = document.getElementById("flowTable");
var flowDatas = self.flowDatas;
var len = flowDatas.length;
var html = "";
for(var i = 0 ;i<len;i++){
// html+="<div id=data"+i+" onclick='getDatas("+flowDatas[i].gid+")'>"+flowDatas[i].name+"</div>";;
html+="<div id=data"+i+">"+flowDatas[i].name+"</div>";;
var id = "#data"+i;
$(id, self.container).on("click", function () {
self.getDatas(flowDatas[i].gid);
});
}
flowTable.innerHTML=html;