Skip to main content



      Home
Home » Eclipse Projects » NatTable » Not able to left align column header
Not able to left align column header [message #1249646] Tue, 18 February 2014 08:28 Go to next message
Eclipse UserFriend
Hello,

I want to left align the column headers. In order to do so I extended from DefaultNatTableStyleConfiguration and in the extended class I did this in the constructor:

 super.hAlign = HorizontalAlignmentEnum.LEFT; 

Added this new class as a configuration to the NatTable but still the column headers are being center aligned.

Am I missing something. Please help.

Thanks and regards,
Pradyumna
Re: Not able to left align column header [message #1249669 is a reply to message #1249646] Tue, 18 February 2014 08:58 Go to previous messageGo to next message
Eclipse UserFriend
You are overriding the wrong style configuration. For the column header you need to override DefaultColumnHeaderStyleConfiguration.
Re: Not able to left align column header [message #1249710 is a reply to message #1249669] Tue, 18 February 2014 09:46 Go to previous message
Eclipse UserFriend
Thanks Dirk.
Meanwhile I used registercolumnoverrides for cell style of column headers to achieve this.
Previous Topic:Add Filter row after freeze row
Next Topic:Text edition and new line
Goto Forum:
  


Current Time: Tue Jul 15 21:43:24 EDT 2025

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

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

Back to the top