I have three header lines: One header group with a subgroup and the columns under the subgroup. This configuration is described in this thread:
http://community.infragistics.com/forums/p/62335/315930.aspx#315930
The problem I have, is to align the height of this 3 group header lines to the height of the header line of a second grid. The second grid has no groups configured, it has multiline header of 3 lines.
Is that possible, that both grid have the same header height?
Thanks. Markus
Hi Markus,
It doesn't matter either way. The AllowRowLayoutLabelSizing (and in general all of the "Allow*" properties only determine if the user can make changes. Changes you make in code are not affected.
Sorry Mike, I got it.
After Initialize_Layout I can disable label sizing :-).
Thank you. Markus
Hi Mike,
Yes I know these settings but since I need label sizing to align the header height to my second grid, I can not use this? See my last post.
Are there any other properties to use or maybe a workaround using some canceleable events before sizing?
AllowColSizing only applies to columns and it's really for non-RowLayouts. There are separate properties for ColumnLayout and GroupLayout styles.
e.Layout.Override.AllowRowLayoutLabelSizing = RowLayoutSizing.None;
You may need to set AllowRowLayoutCellSizing, also.
Using GroupHeaders, how can I disable column-width and row-height sizing?
Normal 0 21 false false false DE-CH X-NONE X-NONE
Initialize_Layout:
e.Layout.Override.AllowColSizing = AllowColSizing.None;
This seems to have no effect. When moving the cursor over the group headers, it changes to arrow cursor and column and header-rows can still be sized.
How can this be disabled?