<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body dir="auto">
<div>We have done this I will get you a sample in an hour<br>
<br>
<div>
<div style="font-family: UICTFontTextStyleBody; font-size: 14px; -webkit-text-size-adjust: auto;">
Dustin Blankenship</div>
<div style="font-family: UICTFontTextStyleBody; font-size: 14px; -webkit-text-size-adjust: auto;">
Sr. Software Developer </div>
<div style="font-family: UICTFontTextStyleBody; font-size: 14px; -webkit-text-size-adjust: auto;">
Accenture</div>
<div style="font-family: UICTFontTextStyleBody; font-size: 14px; -webkit-text-size-adjust: auto;">
407 S Pennsylvania Ave</div>
<div style="font-family: UICTFontTextStyleBody; font-size: 14px; -webkit-text-size-adjust: auto;">
Joplin MO 64836</div>
<div style="font-family: UICTFontTextStyleBody; font-size: 14px; -webkit-text-size-adjust: auto;">
417-793-3889</div>
</div>
<div style="font-family: UICTFontTextStyleBody; font-size: 14px; -webkit-text-size-adjust: auto;">
<br>
</div>
Sent from my iPhone</div>
<div><br>
On Sep 11, 2014, at 11:23, "Joaquin Carrasco Gallego" <<a href="mailto:jcarrascog@gmail.com">jcarrascog@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div><span>Hi everyone, I am trying to change the image icon of a layer node in a
</span><br>
<span>TreePanel but always shows me the default one of the class </span><br>
<span>".x-tree-node-leaf .x-tree-node-icon". Searching for Internet in some </span>
<br>
<span>pages the createNode function is mention in a loader, but I am trying it </span>
<br>
<span>and it doesn´t works. Some help is appreciated. Here is my code:</span><br>
<span></span><br>
<span></span><br>
<span>var treeConfig = [ {</span><br>
<span> nodeType : "gx_baselayercontainer",</span><br>
<span> text : "Ortofotos"</span><br>
<span> }, {</span><br>
<span> nodeType : "gx_overlaylayercontainer",</span><br>
<span> text : "Capas Vectoriales",</span><br>
<span> expanded : true,</span><br>
<span> // render the nodes inside this container with a radio </span>
<br>
<span>button,</span><br>
<span> // and assign them the group "foo".</span><br>
<span> loader : {</span><br>
<span> baseAttrs : {</span><br>
<span> radioGroup : "foo",</span><br>
<span> uiProvider : "layernodeui",</span><br>
<span> },</span><br>
<span> createNode: function(attr) {</span><br>
<span> attr.iconCls = "nuevaClase";</span><br>
<span> return </span><br>
<span> GeoExt.tree.LayerParamLoader.prototype.createNode.apply(this, attr);</span><br>
<span> }</span><br>
<span> }</span><br>
<span> } ];</span><br>
<span></span><br>
<span>Thanks!!!</span><br>
<span>_______________________________________________</span><br>
<span>Users mailing list</span><br>
<span><a href="mailto:Users@geoext.org">Users@geoext.org</a></span><br>
<span><a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a></span><br>
</div>
</blockquote>
</body>
</html>