how to setValue for “activeTemplate” ?
You can’t call it directly by can access value through main item, for example if you have
view: "activeList",
id:"mylist",
activeContent:{
toggleButton:{
...
}
},
you can use
$$('mylist').item(id).toggleButton = "off";
$$('mylist').refresh(id);
Basically, you can change property of list data item, and it will be used as value of active-content item.
“activeTemplate” don’t support load url?
How do you expect to use it?
While active template looks as normal control it not really dynamic, and will not repaint self automatically. For example if you have combo as an active template in the list, you can use load ( or url property ) for combo, but after data loading you need to add list.refresh() call to repaint list with new combo