Dojo Multiselect refresh problem in IE when remove all the domNodes and add options again : Solution
this.containerNode.appendChild(n);
if(dojo.isIE){ // tweak the node to force IE to refresh
var s = dojo.getComputedStyle(n);
if(s){
var filter = s.filter;
n.style.filter = "alpha(opacity=99)";
n.style.filter = filter;
}
}
Reference:
http://dojoapi-mirror.devs.nu/jsdoc/dijit/1.2/dijit.form.MultiSelect.addSelected
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment