pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edvin Syse <ed...@sysedata.no>
Subject Re: How do I update a node in a TreeView when it has no parent?
Date Tue, 07 Jun 2011 07:55:26 GMT
Den 07.06.2011 09:50, skrev Chris Bartlett:
> (I didn't see your replay until after I sent my reply)
>
> Do you need to perform separate remove and insert calls?
> Why not just    getTreeData().update(idx, newNode);
>
> Or are you saying that there are events not being fired?
Hehe.. nice :) That's just what I was looking for. I saw getTreeData() 
returned a List and though java.util.List in my head. Haven't gotten 
used to the super-powerful collections in Pivot :) Thank you so much :)

-- Edvin

Mime
View raw message