Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » How to set text on Group by region
How to set text on Group by region [message #1397442] Wed, 09 July 2014 18:41 Go to next message
Sunny          is currently offline Sunny Friend
Messages: 37
Registered: September 2011
Member
Hi Dirk et al.
Can you tell me how do I set text on group by region ?
When table is in ungrouped mode : "drag here to group by"
When table is in grouped mode : "RMB and do ungroup by"

Thanks,
Sunny

[Updated on: Wed, 09 July 2014 18:49]

Report message to a moderator

Re: How to set text on Group by region [message #1397548 is a reply to message #1397442] Wed, 09 July 2014 22:06 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
Hi,

we only support text in the groupby region in ungrouped state. This is explained in the N&N for 1.1 https://www.eclipse.org/nattable/nandn/nandn_110.php

Showing text in the grouped state might cause rendering issues because of less space.

If you need to implement that, you will need to create a custom GroupByHeaderCellPainter (hopefully that is the correct class name) and add the rendering of text in grouped state.
Re: How to set text on Group by region [message #1398156 is a reply to message #1397548] Thu, 10 July 2014 18:10 Go to previous message
Sunny          is currently offline Sunny Friend
Messages: 37
Registered: September 2011
Member
Thanks Dirk. I will try that.
Previous Topic:Setting cell background color
Next Topic:Selecting specific row by row number
Goto Forum:
  


Current Time: Thu Mar 28 21:58:21 GMT 2024

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

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

Back to the top