-
22 Jun 2010 11:40 PM #1
[FNR] Header group alignment ignored
[FNR] Header group alignment ignored
HeaderGroupConfig.setHorizontalAlignment is ignored.
Code:
Use the code from the Showcase ColumnGroupingExample and replace the line:
with:Code:cm.addHeaderGroup(0, 0, new HeaderGroupConfig("Header Grouping Example", 1, 5));
Also you can not set the alignment of the normal column header (it is always left aligned)Code:HeaderGroupConfig h1 = new HeaderGroupConfig("Header Grouping Example", 1, 5) h1.setHorizontalAlignment(HorizontalAlignment.RIGHT); cm.addHeaderGroup(0, 0, h1);
-
23 Jun 2010 8:53 AM #2
Are you sure about this? this should be fixed in SVN since revision 1932.Also you can not set the alignment of the normal column header (it is always left aligned)
The group alignment is fixed in SVN as of revision 2106 now
-
23 Jun 2010 3:55 PM #3
Thanks - that was fast - this is in the 2.2 branch - is GWT 2 a requirement for this branch or will it still build for GWT 1.7.0?The group alignment is fixed in SVN as of revision 2106 now
Yes I see it - would be be possible in the future to add separate alignment of header from the reset of the column. He's a use case: I have money, numeric and text values in my columns and like Excel I align each differently. But I always want the header to be centred. So in this case separation for header and data alignment is needed. Maybe a setHeaderAlignment() on the ColumnModelAre you sure about this? this should be fixed in SVN since revision 1932.
Regards,
Carl
-
23 Jun 2010 3:59 PM #4
Your suggestion can first be looked at in GXT3.
GXT 2.2 will stll support GWT 2 and GWT 1.7. Only the next major release will drop support of GWT 1.7.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[FNR] CheckBox input / boxlabel alignment incorrect
By jonjanisch in forum Ext GWT: Bugs (2.x)Replies: 1Last Post: 8 Mar 2010, 1:58 AM -
How to remove Group Header from Group Summary Grid Panel?
By msuresh in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 28 Jan 2010, 1:42 AM -
Column alignment issue in Grid after header re alignment
By kalel in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 19 Dec 2007, 4:04 AM


Reply With Quote