Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Cell boundary of underlying cell showing when selecting a spanned cell
Cell boundary of underlying cell showing when selecting a spanned cell [message #1777361] Tue, 28 November 2017 20:40 Go to next message
Louis Detweiler is currently offline Louis DetweilerFriend
Messages: 57
Registered: August 2017
Member
index.php/fa/31417/0/

When clicking on a spanned cell, the boundary of the underlying cell that was clicked on shows through the spanned cell. Is there a way around this?

Thanks.
Re: Cell boundary of underlying cell showing when selecting a spanned cell [message #1777379 is a reply to message #1777361] Wed, 29 November 2017 04:51 Go to previous messageGo to next message
Dirk Fauth is currently online Dirk FauthFriend
Messages: 2614
Registered: July 2012
Senior Member
I can't tell you what is wrong with your configuration, but that should definitely not be. What you see is the selection anchor that is rendered by the SelectionLayerPainter. And in my compositions that use spanning it is rendered correctly. Do you use custom configured layer painter?
Re: Cell boundary of underlying cell showing when selecting a spanned cell [message #1777501 is a reply to message #1777379] Wed, 29 November 2017 17:45 Go to previous messageGo to next message
Louis Detweiler is currently offline Louis DetweilerFriend
Messages: 57
Registered: August 2017
Member
No I don't. I think I may have figured it out. Should the getCellByPosition method in the spanning data provider return a cell at the origin column and row position spanned across the entire cell for every cell that gets covered by the span? Currently in my implementation it only does so for the origin cell.
Re: Cell boundary of underlying cell showing when selecting a spanned cell [message #1777502 is a reply to message #1777501] Wed, 29 November 2017 17:56 Go to previous message
Dirk Fauth is currently online Dirk FauthFriend
Messages: 2614
Registered: July 2012
Senior Member
For every cell in the span
Previous Topic:Row spanning in the row header region
Next Topic:Row selection with spanning
Goto Forum:
  


Current Time: Sun Sep 23 13:47:27 GMT 2018

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

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

Back to the top