Skip to main content



      Home
Home » Eclipse Projects » NatTable » how can get the hidden cell(hidden cell)
how can get the hidden cell [message #1781084] Thu, 01 February 2018 04:24 Go to next message
Eclipse UserFriend
I use the nattable and it is a tree structure. when Collapse the tree, I want to copy all tree cells ,
ALL Tree :
+A
+B
+C
Collapse the tree :
+A

when I copy the cell on the A, I want to get A ,B, and c.
I know I only get A by selectionLayer. whether other layers I can use it?

I want to get the cell by getcellposition this method.

[Updated on: Thu, 01 February 2018 04:35] by Moderator

Re: how can get the hidden cell [message #1781087 is a reply to message #1781084] Thu, 01 February 2018 04:43 Go to previous message
Eclipse UserFriend
That depends on the implementation. If you use GlazedLists TreeList the collapsed rows are hidden in the view. So for NatTable these rows do not exist. Then you could try to use the TreeRowModel to get the child objects.

If you use the hide/show variant you simply need to ask the underlying layer.
Previous Topic:Issue with automatic cell resize with TextPainter
Next Topic:Paste Data
Goto Forum:
  


Current Time: Wed Jul 16 21:03:13 EDT 2025

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

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

Back to the top