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

Grid rendering with UseStaticHeaders

1 Answer 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
dhuss
Top achievements
Rank 1
dhuss asked on 08 Jan 2010, 06:40 PM
When I set my grid to use scrolling and set UseStaticHeaders=true, the grid will render with a bar down the middle of the grid and no data. If I set UseStaticHeaders=false the grid renders normally with data. This is my grid code and the attached jpg is of the grid rendering incorrectly. The version of Telerik.Web.UI.dll is 2009.3.1208.35

                                <telerik:RadGrid ID="dgAuditRecs_rad" runat="server" Width="100%" AllowPaging="false" 
                                    AutoGenerateColumns="false" GridLines="Both">  
                                    <MasterTableView TableLayout="Fixed" DataKeyNames="Transaction_Seq_No">  
                                        <Columns> 
                                            <telerik:GridBoundColumn HeaderText="Claim Seq No" DataField="Transaction_Seq_No" 
                                                HeaderStyle-Width="10%" UniqueName="ClmSeqNo" HeaderStyle-HorizontalAlign="Left" 
                                                ItemStyle-HorizontalAlign="Left">  
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn HeaderText="Audit Action" DataField="Audit_Action" HeaderStyle-Width="10%" 
                                                HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">  
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridDateTimeColumn HeaderText="Audit Date" DataField="Audit_Date" DataFormatString="{0:MMM dd, yyyy  hh:mm:ss tt}" 
                                                HeaderStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">  
                                            </telerik:GridDateTimeColumn> 
                                            <telerik:GridBoundColumn HeaderText="User ID" DataField="Hew_User_ID" HeaderStyle-Width="10%" 
                                                HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">  
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn HeaderText="Sub ID" DataField="Submitter_ID" HeaderStyle-Width="10%" 
                                                HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">  
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn HeaderText="Trans Type" DataField="Transaction" HeaderStyle-Width="10%" 
                                                HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">  
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn HeaderText="Audit Desc" DataField="Audit_Log_Desc" HeaderStyle-Width="10%" 
                                                HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">  
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn HeaderText="File Name" DataField="ANSI_File_Name" HeaderStyle-Width="15%" 
                                                HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">  
                                            </telerik:GridBoundColumn> 
                                        </Columns> 
                                    </MasterTableView> 
                                    <ClientSettings> 
                                    <Scrolling AllowScroll="true" UseStaticHeaders="true" /> 
                                    </ClientSettings> 
                                </telerik:RadGrid> 
 

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 11 Jan 2010, 04:57 PM
Hello Dennis,

Unfortunately I was not able to replicate the issue you are facing.
Please find attached a simple working application which handles the desired functionality. Give it a try and let me know if it works for you.

I hope this helps.

Greetings,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
dhuss
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or