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: 57
Registered: August 2017
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 online Dirk FauthFriend
Messages: 2614
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: 57
Registered: August 2017
Member
Ok cool thanks!
Previous Topic:Issue with ComboBoxCellEditor position
Next Topic:ComboBox Multiselect/Use Checkbox question
Goto Forum:
  


Current Time: Wed Sep 19 12:28:30 GMT 2018

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

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

Back to the top