Skip to main content



      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 09:37 Go to next message
Eclipse UserFriend
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 02:13] by Moderator

Re: Tableviewer Hide empty Rows [message #541358 is a reply to message #540263] Sun, 20 June 2010 08:29 Go to previous messageGo to next message
Eclipse UserFriend
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 05:43 Go to previous message
Eclipse UserFriend
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: Mon May 12 15:21:39 EDT 2025

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

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

Back to the top