This is a migrated thread and some comments may be shown as answers.

Columns Disappearing with Horinzontal Scrolling and 1 Frozen Column

2 Answers 20 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chris Griffin
Top achievements
Rank 1
Chris Griffin asked on 07 May 2010, 03:05 PM
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 Answers, 1 is accepted

Sort by
0
robertw102
Top achievements
Rank 1
answered on 07 May 2010, 05:19 PM
I notice you don't set any column widths. I would assume that it is the problem.
0
Chris Griffin
Top achievements
Rank 1
answered on 07 May 2010, 05:26 PM
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.
Tags
Grid
Asked by
Chris Griffin
Top achievements
Rank 1
Answers by
robertw102
Top achievements
Rank 1
Chris Griffin
Top achievements
Rank 1
Share this question
or