Skip to main content



      Home
Home » Eclipse Projects » NatTable » Issue with tree model(Tree does not collapse elements as it should)
Issue with tree model [message #1603613] Fri, 06 February 2015 04:23 Go to next message
Eclipse UserFriend
Hello. I have a NatTable build with a custom tree data that works with a list of tree elements. Assuming that one of the elements are contained in two or more different parents, whenever i collapse one of those parents, the element is hidden only for the first parent( as the common child is reffered by the same index in the list). Any suggestions on how to make this work? Thank you!
Re: Issue with tree model [message #1603998 is a reply to message #1603613] Fri, 06 February 2015 10:09 Go to previous messageGo to next message
Eclipse UserFriend
Having the same child instance in several parents won't work.

The only thing that might work would be to implement equals and hashCode of your children to take the parent into account.
Re: Issue with tree model [message #1608474 is a reply to message #1603998] Mon, 09 February 2015 09:42 Go to previous message
Eclipse UserFriend
That's a bummer. Well, thank you very much for your answer. And if everything else comes to mind, please let me know. Cheers!
Previous Topic:Understanding Nattable internal calls
Next Topic:How add a Cancel function for nattable search
Goto Forum:
  


Current Time: Wed Jun 18 18:09:00 EDT 2025

Powered by FUDForum. Page generated in 0.04294 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top