How do I replace XmlTreeLoader in Ext JS?
- by stinkycheeseman
Ext.ux.xmltreeloader is now deprecated and I'm trying to update it but I'm not sure exactly how to do so. Here's my code:
rmg.sscp.search.xmlLoader = Ext.extend(Ext.ux.tree.XmlTreeLoader, {
processAttributes : function(attr){
var text = attr.tagName;
attr.text = text + ' ' + attr.textContent;
attr.loaded = true;
attr.expanded = true;
}
});