Then, you could possibly add a fake object inside that node's children with
a label "loading", so the framework will know that this node contains
something and automatically show arrow and folder. On click, call the rpc
service to load the new data and on reply replace the loading node with the
real data?

On Fri, Dec 19, 2008 at 4:01 PM, Dan Vega <danv...@gmail.com> wrote:

>   I don't think its just icon though is it? It needs to be a branch with
> an arrow next to it so that you can click on it to expand the folder.
>
> Thank You
>
> Dan Vega
> danv...@gmail.com
> http://www.danvega.org
>
>
> On Thu, Dec 18, 2008 at 2:43 PM, Fotis Chatzinikos <
> fotis.chatzini...@gmail.com> wrote:
>
>>   use iconFunction="yourFunction()" where yourfunction checks your isLeaf
>> variable and assigns a folder or leaf icon
>>
>>
>> On Thu, Dec 18, 2008 at 9:07 PM, Dan Vega <danv...@gmail.com> wrote:
>>
>>>   but not every folder will be a branch, only those who have children. I
>>> can set the default leaf icon to a standar folder but I am stuck on how to
>>> treat branches using my example.
>>>
>>>
>>
>>
>> --
>> Fotis Chatzinikos, Ph.D.
>> Founder,
>> Phinnovation
>> fotis.chatzini...@gmail.com,
>>
>
>  
>



-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
fotis.chatzini...@gmail.com,

Reply via email to