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 14:41 Go to next message
Sunny Shastri is currently offline Sunny Shastri
Messages: 25
Registered: September 2011
Junior 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 14: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 18:06 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1225
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 14:10 Go to previous message
Sunny Shastri is currently offline Sunny Shastri
Messages: 25
Registered: September 2011
Junior Member
Thanks Dirk. I will try that.
Previous Topic:Selecting specific row by row number
Next Topic:RMB on a cell returning last selected cell position as null
Goto Forum:
  


Current Time: Tue Jul 29 21:14:22 EDT 2014

Powered by FUDForum. Page generated in 0.02570 seconds