Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Hide horizontal lines only(how to hide only horizontal grid lines)
Hide horizontal lines only [message #1716877] Tue, 08 December 2015 17:57 Go to next message
Oleksandr Zozulya is currently offline Oleksandr ZozulyaFriend
Messages: 15
Registered: December 2015
Junior Member
I'm trying to achieve the nativish look of nattable on mac, where the horizontal grid lines are not displayed, but failed so far to find an option do disable drawing of horizontal lines only. Is there is a way to do so? There is a overridable method in the theme configuration to disable both horizontal and vertical lines getRenderBodyGridLines() but that's too much.
Re: Hide horizontal lines only [message #1716888 is a reply to message #1716877] Tue, 08 December 2015 19:57 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2903
Registered: July 2012
Senior Member
No there is no such configuration. You need to implement and register a custom GridLineCellLayerPainter
Re: Hide horizontal lines only [message #1717157 is a reply to message #1716888] Thu, 10 December 2015 10:51 Go to previous messageGo to next message
Oleksandr Zozulya is currently offline Oleksandr ZozulyaFriend
Messages: 15
Registered: December 2015
Junior Member
Done. Another question, in order not to start another topic. Is there some sort of NatGridLayerPainter which fills in the rest of the space respecting alternating row background? Just to make sure, I'm not reinventing the wheel.
Re: Hide horizontal lines only [message #1717162 is a reply to message #1717157] Thu, 10 December 2015 11:34 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2903
Registered: July 2012
Senior Member
Quote:
Is there some sort of NatGridLayerPainter which fills in the rest of the space respecting alternating row background?


No
Previous Topic:default column size issue
Next Topic:Multi row DnD
Goto Forum:
  


Current Time: Fri Sep 20 12:49:56 GMT 2024

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

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

Back to the top