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
295
UseFixedHeaders - UltrWebGrid Does Not Work
posted

I have the latest UltraWebGrid 2007 vol 3 and when I use the UseFixedHeaders it does not work at all. The columns disappear and only the header row shows with the thumb-tack image on each column. When I remove the UseFixedHeaders the columns display fine. Any suggestions? I'm completely lost as to what I need to do to get this to work. See code below. Thanks in advance!

                         <igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server">
                            <DisplayLayout ViewType="OutlookGroupBy" TableLayout="Fixed" BorderCollapseDefault="Separate" FrameStyle-Width="1000px" FrameStyle-Wrap="false" AutoGenerateColumns="false" RowHeightDefault="18px" Version="3.00" ColFootersVisibleDefault="Yes"
                             FrameStyle-CustomRules="table-layout:fixed" StationaryMargins="Header" UseFixedHeaders="true">
                            <HeaderStyleDefault BorderWidth="1px" Font-Size="8pt" Font-Names="Verdana" BorderStyle="Solid" HorizontalAlign="Left"
                                ForeColor="Black" BackColor="#f0f0e8">
                                <Padding Left="5px" Right="5px"></Padding>
                                <BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px" ColorLeft="White"></BorderDetails>
                            </HeaderStyleDefault>  
                            <FooterStyleDefault ForeColor="black" BorderStyle="None">                                                               
                            </FooterStyleDefault>                          
                        
                            <ClientSideEvents MouseOverHandler="MouseOver" InitializeRowHandler="InitializeRow"/>
                                                        
                            </DisplayLayout>     
                            <Bands>
                                <igtbl:UltraGridBand Key="vchAcctKey" BaseTableName="Holdings" AllowSorting="OnClient" FixedHeaderIndicator="Button">
                                    <Columns>
                                        <igtbl:UltraGridColumn Width="310" AllowGroupBy="Yes" IsBound="false" Key="vchRegDisplay" BaseColumnName="vchRegDisplay" HeaderText="Display">
                                            <Header Fixed="true"></Header>
                                        </igtbl:UltraGridColumn>                                     
 
                                       <igtbl:UltraGridColumn Width="110" AllowGroupBy="Yes" IsBound="false" Key="vchAccountNumber" BaseColumnName="vchAccountNumber" HeaderText="Account #">                                            
                                           <Header Fixed="true" FixedHeaderIndicator="Button"></Header>
                                        </igtbl:UltraGridColumn>
                                        <igtbl:UltraGridColumn Width="210" AllowGroupBy="Yes" IsBound="false" Key="vchSecurity_Desc" BaseColumnName="vchSecurity_Desc" HeaderText="Security">
                                        </igtbl:UltraGridColumn>
                                        <igtbl:UltraGridColumn Width="110" AllowGroupBy="Yes" IsBound="false" Key="vchSecurity_Symbol" BaseColumnName="vchSecurity_Symbol" HeaderText="Symbol">
                                        </igtbl:UltraGridColumn>
                                        <igtbl:UltraGridColumn Width="75" IsBound="false" Key="cCUSIP" BaseColumnName="cCUSIP" HeaderText="CUSIP">
                                        </igtbl:UltraGridColumn>
                                        <igtbl:UltraGridColumn Width="110" IsBound="false" Key="dCurrent_Market_Price" BaseColumnName="dCurrent_Market_Price" HeaderText="Market Price">                                        
                                            <HeaderStyle HorizontalAlign="Right" />
                                            <CellStyle HorizontalAlign="Right"></CellStyle>   
                                            <FooterStyle HorizontalAlign="Right" Font-Bold="true" />                                                                                                         
                                        </igtbl:UltraGridColumn>                                          
                                        <igtbl:UltraGridColumn Width="110" IsBound="false" Key="dTrade_Date_Quantity" Format="###,###.0000" BaseColumnName="dTrade_Date_Quantity" HeaderText="Quantity">
                                            <HeaderStyle HorizontalAlign="Right" />
                                            <CellStyle HorizontalAlign="Right"></CellStyle>    
                                            <FooterStyle HorizontalAlign="Right" Font-Bold="true" />                                                                                                        
                                        </igtbl:UltraGridColumn>                                                                                                                       
                                        <igtbl:UltraGridColumn Width="110" IsBound="false" Key="dClosing_Value" Format="$###,###.00" BaseColumnName="dClosing_Value" HeaderText="Close">
                                            <HeaderStyle HorizontalAlign="Right" />
                                            <CellStyle HorizontalAlign="Right"></CellStyle>
                                            <Footer Total="Sum"></Footer>
                                            <FooterStyle HorizontalAlign="Right" Font-Bold="true"/>
                                        </igtbl:UltraGridColumn>
                                        <igtbl:UltraGridColumn Width="110" IsBound="false" Key="mCashAvailable" BaseColumnName="mCashAvailable" Format="$###,###.00" HeaderText="Cash Available">
                                            <HeaderStyle HorizontalAlign="Right" />
                                            <CellStyle HorizontalAlign="Right"></CellStyle>
                                            <Footer Total="Sum"></Footer>                  
                                            <FooterStyle HorizontalAlign="Right" Font-Bold="true" />                        
                                        </igtbl:UltraGridColumn>
                                        <igtbl:UltraGridColumn Width="110" IsBound="false" Key="vchAcctKey" BaseColumnName="vchAcctKey" HeaderText="Account Key">
                                        </igtbl:UltraGridColumn>   
                                        <igtbl:UltraGridColumn Width="110" IsBound="false" Key="vchAcctKey" BaseColumnName="vchAcctKey" HeaderText="Account Key">
                                        </igtbl:UltraGridColumn>                                                                                                                                                              
                                    </Columns>
                                </igtbl:UltraGridBand>
                            </Bands>
                                                                                                
                        </igtbl:UltraWebGrid>

 

Parents Reply Children
No Data