Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Question about TableCellPainter subcell selection/editing
Question about TableCellPainter subcell selection/editing [message #1772670] Wed, 13 September 2017 17:15 Go to next message
Louis Detweiler is currently offline Louis DetweilerFriend
Messages: 100
Registered: August 2017
Senior Member
Hello,

I was wondering if it is possible to select individual subcells generated by a TableCellPainter, and more, if it is possible to edit those subcells individually.

For example, let's say we have a NatTable with columns A, B, and C. In column A we have, say, a person's name. Then in column B we have favorite foods and in column C we have favorite drinks. Both column B and C have lists, and use a TableCellPainter to paint the list as subcells.

Would it be possible to individually select, say "Guacamole" in list B and only have the subcell for guacamole highlighted?

Also, would it be possible to edit an individual subcell? Like, say changing a "Soda" subcell in column C to "Water"?

Thanks.

Louis
Re: Question about TableCellPainter subcell selection/editing [message #1772680 is a reply to message #1772670] Wed, 13 September 2017 19:18 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
IIRC editing is possible via TableCellEditor. Selection of subcells is currently not supported.

[Updated on: Wed, 13 September 2017 20:07]

Report message to a moderator

Re: Question about TableCellPainter subcell selection/editing [message #1772688 is a reply to message #1772680] Wed, 13 September 2017 20:50 Go to previous message
Louis Detweiler is currently offline Louis DetweilerFriend
Messages: 100
Registered: August 2017
Senior Member
Ok cool thanks!
Previous Topic:Issue with ComboBoxCellEditor position
Next Topic:TableCellPainter trouble
Goto Forum:
  


Current Time: Fri Mar 29 05:00:26 GMT 2024

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

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

Back to the top