Tree

Estou fazendo uma tree dinãmica… mas ela só consegue ler o root… os filhos n está trazendo :S Alguém sabe como o que pode ser?

Laszlo

[code]<canvas width="450" height="450">

<dataset name="arvore" request="true" src="http://10.96.168.4/unidades_pessoas_pesq.php" />

<view x="20" y="20" layout="axis: x; spacing: 10">

&lt;!-- data replicated tree --&gt;
&lt;view width=&quot;200&quot; height=&quot;200&quot;&gt;
  &lt;tree datapath=&quot;arvore&#58;/&quot; icon=&quot;null&quot; showroot=&quot;false&quot;&gt;
    &lt;tree datapath=&quot;*&quot; icon=&quot;null&quot; text=&quot;$path&#123;'@name'&#125;&quot;
          isleaf=&quot;$path&#123;'@grandparent'&#125;&quot;/&gt;
  &lt;/tree&gt;
&lt;/view&gt;

</view>
</canvas>

[/code]

Retorno do Dataset

&lt;hobbit name=&quot;Setores&quot;&gt; &lt;hobbit name=&quot;DACA Humanas&quot;&gt; &lt;hobbit name=&quot;Cirineo&quot; grandparent=&quot;true&quot;/&gt; &lt;hobbit name=&quot;Leandro Ribeiros&quot; grandparent=&quot;true&quot;/&gt; &lt;/hobbit&gt; &lt;hobbit name=&quot;Pergamum&quot;&gt; &lt;hobbit name=&quot;Daniela Miqueletto&quot; grandparent=&quot;true&quot;/&gt; &lt;hobbit name=&quot;Geisa Pereira Garcia&quot; grandparent=&quot;true&quot;/&gt; &lt;hobbit name=&quot;Marcos Rogério&quot; grandparent=&quot;true&quot;/&gt; &lt;/hobbit&gt; &lt;hobbit name=&quot;SIGA&quot;&gt; &lt;hobbit name=&quot;Daniela Miqueletto&quot; grandparent=&quot;true&quot;/&gt; &lt;hobbit name=&quot;Eduardo Domanski&quot; grandparent=&quot;true&quot;/&gt; &lt;/hobbit&gt; &lt;/hobbit&gt;

bom aonde sei que tem um exemplo de tree dinamica é no Laszlo-explorer
que ele monta akele menu tree view dinamicamente a partir de um XML…

ainda não cheguei a mexer muito com tree :razz:
vou ver se arranjo um tempo para testar isso :wink:

[]'s