Skip to main content



      Home
Home » Eclipse Projects » NatTable » Question about TableCellPainter subcell selection/editing
Question about TableCellPainter subcell selection/editing [message #1772670] Wed, 13 September 2017 13:15 Go to next message
Eclipse UserFriend
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 15:18 Go to previous messageGo to next message
Eclipse UserFriend
IIRC editing is possible via TableCellEditor. Selection of subcells is currently not supported.

[Updated on: Wed, 13 September 2017 16:07] by Moderator

Re: Question about TableCellPainter subcell selection/editing [message #1772688 is a reply to message #1772680] Wed, 13 September 2017 16:50 Go to previous message
Eclipse UserFriend
Ok cool thanks!
Previous Topic:Issue with ComboBoxCellEditor position
Next Topic:TableCellPainter trouble
Goto Forum:
  


Current Time: Sun Jul 27 05:06:25 EDT 2025

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

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

Back to the top