i want to add html page to list as item.how to do? the value of html page is live
You may try to place the iframe in the template of your list.
something like:
function template(item) {
var template = "<div class='list_item'>";
template += "<iframe src='"+item.value+"' width='468' height='170' align='left'></iframe>";
template += "</div>";
return template;
}
var list = new dhx.List("list", {css: "dhx_widget--bordered", template: template, itemHeight: 200});
thank you i get it.do get it. adopt ajax and return datatype is html.