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>
It'll take some investigation to determine the cause behind any of the problems noted earlier in this thread. If it worked in previous versions of the toolset, however, then this is either a breaking change or (more likely) a bug we may need to fix.
Please submit a support request, one for each individual issue you're encountering, so that a Developer Support Engineer can investigate them in more detail. If possible, please include a sample project that we can run and debug which reproduces the issue, since this will ensure that we're testing the same code you're using.
I am having a similar problem. But it is happening when I sort a column by clicking on the column header which is located on other side of the horizontal scroll bar. Below is my display layout.
<DisplayLayout AllowColSizingDefault="Free" AllowColumnMovingDefault="OnClient" StationaryMargins="Header" AllowSortingDefault="Yes" HeaderClickActionDefault="SortSingle" Name="UltraWebGrid1" SelectTypeRowDefault="Extended" RowHeightDefault="20px" ColWidthDefault="" Version="4.00" LoadOnDemand="Xml" TableLayout="Fixed" Pager-StyleMode="ComboBox">
The header rearranges only when I move the scroll bar after the sort is complete. Why it is not refreshing itself?
Another problem with sorting.
is not sorting but it display the busy pointer. What is wrong with it?
I have the same problem...