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
105
UltraWebGrid Scrollbars leave Column Missing
posted

I have added an UltraGridContol to an Aspx file like so:

<igtbl:UltraWebGrid ID="ShiftSequenceGrid" runat="server" Width="100%">
    <Bands>
        <igtbl:UltraGridBand>
            <AddNewRow View="NotSet" Visible="NotSet">
            </AddNewRow>
            <FixedCellStyle HorizontalAlign="center" VerticalAlign="Middle" Wrap="true" Height="25px" >
            <Padding Bottom="4px" Left="4px" Top="4px" Right="4px" />
            </FixedCellStyle>
        </igtbl:UltraGridBand>
    </Bands>
    <DisplayLayout BorderCollapseDefault="Separate" Name="ShiftSequenceGrid" CellClickActionDefault="NotSet"
        AllowUpdateDefault="No" RowSelectorsDefault="No" Version="4.00" TabDirection="BottomToTop"
        ColWidthDefault="160px" RowHeightDefault="25px" TableLayout="Fixed" ScrollBar="Auto" ScrollBarView="Both">
        <HeaderStyleDefault Wrap="True" ForeColor="white" BackColor="#89a3c8" BorderColor="#5e7ba5"
            BorderStyle="Solid" BorderWidth="1px" Font-Size="11px" >
            <BorderDetails ColorLeft="#89a3c8" ColorTop="#89a3c8" />
            <Padding Top="2" Bottom="2" />
        </HeaderStyleDefault>
        <EditCellStyleDefault BackColor="#89a3c8" BorderStyle="None" BorderWidth="0" Height="25px" Width="160px">
            <Padding Bottom="4px" Left="4px" Top="4px" Right="4px" />
        </EditCellStyleDefault>
        <RowStyleDefault BorderColor="#a1b1c8" BorderStyle="Solid" BorderWidth="1px">
            <BorderDetails ColorLeft="White" ColorTop="White" />
            <Padding Top="4px" Bottom="4px" Left="4px" Right="4px" />
        </RowStyleDefault>
        <FrameStyle Width="100%" BorderColor="steelblue" BorderStyle="Solid" BorderWidth="1px" Wrap="true">
        </FrameStyle>
        <ClientSideEvents MouseDownHandler="ShiftSequenceGrid_MouseDownHandler" />
    </DisplayLayout>
</igtbl:UltraWebGrid>

On setting fixed headers to true, setting the first column not to scroll, and the top heading not to scroll like so:

ShiftSequenceGrid.DisplayLayout.UseFixedHeaders = true;
ShiftSequenceGrid.DisplayLayout.Bands[0].Columns[0].Header.Fixed = true;
ShiftSequenceGrid.DisplayLayout.StationaryMargins = StationaryMargins.Header;

What I get is the correct columns scrolling, but the last 1.5 columns are out of the range of the scrollbar.  I have followed instructions in a number of similar post but none have allowed the offending columns to become scrollable.

Is ther something I am missing here?