Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
StationaryMargins causing strange layout since 8.3 upgrade
posted

 Has anyone else had an issue with StationaryMargins="Header" or ="HeaderAndFooter"  since upgrading to 8.3 ?? When I turn it on the header seems to render itself half way down the grid, and I cannot see any data.

 I have pasted a copy of the markup below. If I remove the StationaryMargins attribute from DisplayLayout, everything works fine.

 <igtbl:UltraWebGrid Width="100%" Browser="Xml" ID="UltraWebGrid_ColumnProperties" runat="server"
                                oninitializedatasource="UltraWebGrid_ColumnProperties_InitializeDataSource"
                                onaddrow="UltraWebGrid_ColumnProperties_AddRow"
                                ondeleterow="UltraWebGrid_ColumnProperties_DeleteRow"
                                onupdaterow="UltraWebGrid_ColumnProperties_UpdateRow">
                                <Bands>
                                    <igtbl:UltraGridBand AllowAdd="Yes" AllowDelete="Yes" AllowUpdate="Yes">
                                        <Columns>
                                            <igtbl:UltraGridColumn BaseColumnName="TenantID" Key="TenantID" ServerOnly="True">
                                            </igtbl:UltraGridColumn>
                                            <igtbl:UltraGridColumn BaseColumnName="ColumnPropertyID" Key="ColumnPropertyID"
                                                ServerOnly="True">
                                            </igtbl:UltraGridColumn>
                                            <igtbl:UltraGridColumn BaseColumnName="ColumnID" Key="ColumnID"
                                                ServerOnly="True">
                                            </igtbl:UltraGridColumn>
                                            <igtbl:UltraGridColumn BaseColumnName="PropertyName" Key="PropertyName" Width="50%">
                                                <Header Caption="Property Name">
                                                    <RowLayoutColumnInfo OriginX="1" />
                                                </Header>
                                                <Footer>
                                                    <RowLayoutColumnInfo OriginX="1" />
                                                </Footer>
                                            </igtbl:UltraGridColumn>
                                            <igtbl:UltraGridColumn BaseColumnName="Value" Key="Value" Width="50%">
                                                <Header Caption="Value">
                                                    <RowLayoutColumnInfo OriginX="2" />
                                                </Header>
                                                <Footer>
                                                    <RowLayoutColumnInfo OriginX="2" />
                                                </Footer>
                                            </igtbl:UltraGridColumn>
                                        </Columns>
                                    </igtbl:UltraGridBand>
                                </Bands>
                                <DisplayLayout AllowColSizingDefault="Free" AllowSortingDefault="OnClient" AutoGenerateColumns="false"
                                    BorderCollapseDefault="Separate" HeaderClickActionDefault="SortMulti" LoadOnDemand="Xml"
                                    RowHeightDefault="15px" SelectTypeRowDefault="Single" ViewType="Flat" StationaryMargins="HeaderAndFooter">
                                    <ActivationObject BorderColor="" BorderWidth=""></ActivationObject>
                                    <AddNewRowDefault View="Bottom" Visible="Yes"></AddNewRowDefault>
                                    <FilterOptionsDefault AllowRowFiltering="OnClient">
                                        <FilterHighlightRowStyle BackColor="WhiteSmoke" ForeColor="Black"></FilterHighlightRowStyle>
                                        <FilterDropDownStyle BackColor="White" BorderColor="#E6E6E6" BorderStyle="Solid" BorderWidth="1px" CustomRules="overflow:auto;" Width="100%"></FilterDropDownStyle>
                                    </FilterOptionsDefault>
                                    <FrameStyle Height="150px" BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid" BorderWidth="1px" Width="100%"></FrameStyle>
                                    <GroupByBox Hidden="true">
                                        <BandLabelStyle BackColor="WhiteSmoke"></BandLabelStyle>
                                        <BoxStyle BackColor="WhiteSmoke" BorderColor="Window"></BoxStyle>
                                    </GroupByBox>
                                    <GroupByRowStyleDefault BackColor="White" BorderColor="White" BorderStyle="Solid" BorderWidth="1px">
                                        <Padding Bottom="3px" />
                                        <BorderDetails ColorBottom="#E6E6E6" StyleBottom="Solid" />
                                    </GroupByRowStyleDefault>
                                    <HeaderStyleDefault BorderStyle="Solid" BorderColor="#E6E6E6">
                                        <BorderDetails WidthLeft="1px" WidthTop="1px" ColorLeft="White" ColorTop="White" ></BorderDetails>
                                    </HeaderStyleDefault>
                                    <RowSelectorStyleDefault BorderStyle="Solid"></RowSelectorStyleDefault>  
                                    <RowStyleDefault BorderWidth="1px" BorderColor="#E6E6E6" BorderStyle="Solid" BackColor="White">
                                        <Padding Left="3px"></Padding>
                                        <BorderDetails ColorTop="White" ColorLeft="White"></BorderDetails>
                                    </RowStyleDefault>
                                    <ClientSideEvents
                                        InitializeLayoutHandler="UltraWebGrid_ColumnProperties_InitializeLayoutHandler"
                                        XmlHTTPResponseHandler="UltraWebGrid_ColumnProperties_XmlHTTPResponseHandler" />
                                </DisplayLayout>
                            </igtbl:UltraWebGrid>