Columns Disappearing with Horinzontal Scrolling and 1 Frozen Column

3 posts, 0 answers
  1. Chris Griffin
    Chris  Griffin avatar
    18 posts
    Member since:
    May 2009

    Posted 07 May 2010 Link to this post

    Have a problem where I have a bunch of columns and am using horizontal scrolling.  Using a Frozen columns so that you can see the name of the person while viewing the MANY columns.  Occasionally , if the end user scrolls slowly wit hthe arrows the ends of the table get eaten off.   Below is the  code for the grid.  Nothing special.
    <telerik:RadGrid ID="gridResults" runat="server" Skin="Office2007" AutoGenerateColumns="False" 
                                GridLines="None" Width='1100px'
                                <MasterTableView Width='100%'
                                    <HeaderStyle HorizontalAlign="Left" Wrap="false" /> 
                                    <ItemStyle HorizontalAlign="Left" Wrap="false" /> 
                                    <AlternatingItemStyle HorizontalAlign="Left" Wrap="false" BackColor="#EEEEEE" /> 
                                    <Columns> 
                                        <telerik:GridBoundColumn DataField="OfficerName" HeaderText="Officer Name" /> 
                                        <telerik:GridBoundColumn DataField="TotalCalls" HeaderText="Calls and Complaints" /> 
                                        <telerik:GridBoundColumn DataField="MisArrest" HeaderText="Misdemeanor Arrest" /> 
                                        <telerik:GridBoundColumn DataField="FelArrest" HeaderText="Felony Arrest" /> 
                                        <telerik:GridBoundColumn DataField="Court" HeaderText="Court" /> 
                                        <telerik:GridBoundColumn DataField="Accidents" HeaderText="Accidents Investigated" /> 
                                        <telerik:GridBoundColumn DataField="Citations" HeaderText="Citations" /> 
                                        <telerik:GridBoundColumn DataField="Warnings" HeaderText="Warnings" /> 
                                        <telerik:GridBoundColumn DataField="Training" HeaderText="Training" /> 
                                        <telerik:GridBoundColumn DataField="Supervision" HeaderText="Supervision" /> 
                                        <telerik:GridBoundColumn DataField="DutyOfficer" HeaderText="Duty Officer" /> 
                                        <telerik:GridBoundColumn DataField="MealsandBreaks" HeaderText="Meals and Breaks" /> 
                                        <telerik:GridBoundColumn DataField="OtherAgencies" HeaderText="Assist Other Agencies" /> 
                                        <telerik:GridBoundColumn DataField="CitizenAssist" HeaderText="Citizen Assist" /> 
                                        <telerik:GridBoundColumn DataField="Backup" HeaderText="Back/Up Assist" /> 
                                        <telerik:GridBoundColumn DataField="Escorts" HeaderText="Escorts" /> 
                                        <telerik:GridBoundColumn DataField="FieldInterview" HeaderText="Field Interview" /> 
                                        <telerik:GridBoundColumn DataField="Special" HeaderText="Special Detail" /> 
                                        <telerik:GridBoundColumn DataField="Radar" HeaderText="Radar Detail" /> 
                                        <telerik:GridBoundColumn DataField="Burglary" HeaderText="Burglary Reports" /> 
                                        <telerik:GridBoundColumn DataField="Theft" HeaderText="Theft Reports" /> 
                                        <telerik:GridBoundColumn DataField="BusinessChecks" HeaderText="Business Checks" /> 
                                        <telerik:GridBoundColumn DataField="HouseChecks" HeaderText="House Checks" /> 
                                        <telerik:GridBoundColumn DataField="Misc" HeaderText="Misc. Incidents" /> 
                                        <telerik:GridBoundColumn DataField="PatrolHours" HeaderText="Patrol Hours" /> 
                                        <telerik:GridBoundColumn DataField="PatrolMiles" HeaderText="Patrol Miles" /> 
                                        <telerik:GridBoundColumn DataField="Totals" HeaderText="Total For Period" /> 
                                    </Columns> 
                                </MasterTableView> 
                                <ClientSettings> 
                                    <Scrolling AllowScroll="true" UseStaticHeaders="true" FrozenColumnsCount="1" SaveScrollPosition="true" /> 
                                </ClientSettings> 
                            </telerik:RadGrid> 

  2. robertw102
    robertw102 avatar
    265 posts
    Member since:
    Jul 2007

    Posted 07 May 2010 Link to this post

    I notice you don't set any column widths. I would assume that it is the problem.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Chris Griffin
    Chris  Griffin avatar
    18 posts
    Member since:
    May 2009

    Posted 07 May 2010 Link to this post

    The contents are variable widths depending  on the search results.  If you set widths it will make the grid not as dynamic.  This is not the problem though, it has been tried to rule this option out.
Back to Top