Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Tableviewer hide lines at empty rows
Tableviewer hide lines at empty rows [message #540263] Tue, 15 June 2010 13:37 Go to next message
lukas is currently offline lukasFriend
Messages: 4
Registered: June 2010
Junior Member
Hello all,

I have a tableviewer with the following settings:
		table.setHeaderVisible(true);
		table.setLinesVisible(true);

This will show my table-grid - now my question is, is it possible to hide the grid-lines if a row is empty?
My plan is, to make a table with some rows. But the empty rows in the end of my table and the empty columns right off it, should be free of grid-lines and just be empty.

Thanks for your help.



[Updated on: Wed, 16 June 2010 06:13]

Report message to a moderator

Re: Tableviewer Hide empty Rows [message #541358 is a reply to message #540263] Sun, 20 June 2010 12:29 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
Hi Lukas,

This is only a problem when the total rows do not fit in the container. I
think you can use a layoutmanager or otherwise the resize methods to make the
table not bigger than the amount of rows it contains.

--

Best Regards,
Wim Jongman
-- Press any key to continue or any other key to quit...
(Eclipse Old Skool
Quote Service)

> Hello all,
>
> I have a tableviewer with the following settings:
> table.setHeaderVisible(true);
> table.setLinesVisible(true);
> Now my question is, is it possible to hide these lines if a row is empty?
> My plan is, to make a table with some rows. But the empty space under my
table and right off it, should be free of lines and just be empty.
>
> Thanks for your help.
>
> Ps: I Hope you understand my english;) If not tell me and i will try to
explain it in other words.
Re: Tableviewer Hide empty Rows [message #541468 is a reply to message #541358] Mon, 21 June 2010 09:43 Go to previous message
lukas is currently offline lukasFriend
Messages: 4
Registered: June 2010
Junior Member
Thank you very much Wim, i will try this.
Previous Topic:Please help, Distinguish enter key event in Editor
Next Topic:Translations work well in IDE but are missing after export
Goto Forum:
  


Current Time: Tue Apr 23 12:41:58 GMT 2024

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

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

Back to the top