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

RadGrid Column Header scrolling issue

4 Answers 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Morten Bmholt
Top achievements
Rank 1
Morten Bmholt asked on 08 Jan 2010, 11:09 AM
Hey at Telerik

I have a problem with the RadGrid when i define a height and width and enable scrolling.

The column headers are not shown correctly. They are misaligned.

I included a screenshot of the problem.

Underneath is the RadGrid. Have tried numerous settings nothing seems to fix it.

Regards

Morten Bomholt

<

 

telerik:RadGrid ID="RadGridElever" runat="server" Width="800px" Style="height:600px;"

 

 

AllowMultiRowSelection="True" AllowSorting="True" GridLines="None" Skin="Office2007"

 

 

AllowPaging="True" PageSize="20" OnNeedDataSource="RadGridElever_NeedDataSource" >

 

 

<PagerStyle NextPagesToolTip="Nste sider" NextPageToolTip="Nste side" PagerTextFormat="Skift side: {4} &amp;nbsp;Viser side {0} af {1}, elever {2} til {3} af {5}."

 

 

PrevPagesToolTip="Forrige sider" PrevPageToolTip="Forrige side" FirstPageToolTip="Frste side"

 

 

LastPageToolTip="Sidste side" AlwaysVisible="True" />

 

 

<MasterTableView AllowMultiColumnSorting="True" AutoGenerateColumns="False" CellSpacing="-1"

 

 

NoMasterRecordsText="Ingen data at fremvise.">

 

 

<NoRecordsTemplate>

 

 

<table style="border-bottom: solid 1px #D0D7E5; width: 100%; height: 50px;">

 

 

<tr>

 

 

<td>

 

Der er ingen data at fremvise

 

</td>

 

 

</tr>

 

 

</table>

 

 

</NoRecordsTemplate>

 

 

<Columns>

 

 

<telerik:GridBoundColumn DataField="PersonID" HeaderText="PersonID" SortExpression="PersonID"

 

 

UniqueName="PersonID" Visible="False">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Fornavn" HeaderText="Fornavn" SortExpression="Fornavn"

 

 

UniqueName="Fornavn">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Efternavn" HeaderText="Efternavn" SortExpression="Efternavn"

 

 

UniqueName="Efternavn">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="PostNr" HeaderText="PostNr" SortExpression="PostNr"

 

 

UniqueName="PostNr">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Postdistrikt" HeaderText="Postdistrikt" SortExpression="Postdistrikt"

 

 

UniqueName="Postdistrikt">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="CprNr" HeaderText="CprNr" SortExpression="CprNr"

 

 

UniqueName="CprNr" Visible="False">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Uddannelse" HeaderText="Uddannelse" SortExpression="Uddannelse"

 

 

UniqueName="Uddannelse">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Folkeskole" HeaderText="Folkeskole" SortExpression="Folkeskole"

 

 

UniqueName="Folkeskole">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Indmeldelsesdato" DataFormatString="{0:d}" DataType="System.DateTime"

 

 

HeaderText="Indmeldelsesdato" SortExpression="Indmeldelsesdato" UniqueName="Indmeldelsesdato">

 

 

</telerik:GridBoundColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

<ClientSettings>

 

 

<Selecting AllowRowSelect="True" />

 

 

<Scrolling AllowScroll="True" UseStaticHeaders="True" />

 

 

</ClientSettings>

 

 

<SortingSettings SortedAscToolTip="Sorteret stigende" SortedDescToolTip="Sorteret faldende"

 

 

SortToolTip="Klik her for at sortere" />

 

 

<StatusBarSettings LoadingText="Indlser..." ReadyText="Klar" />

 

 

</telerik:RadGrid>

 

4 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 08 Jan 2010, 12:43 PM
Hello Morten,

I can't reproduce the described issue on my side by using your RadGrid declaration. Which browser you are using and which RadControls version? Can you send a complete runnable web page?

Kind regards,
Dimo
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.
0
Kumar Nagaraju
Top achievements
Rank 1
answered on 28 Apr 2010, 08:04 AM
Hi team ,
I am facing similar kind of issue when scrolling the horizontal scroll bar.
I am using IE 6
Ver . 2009.1.402.35

Thanks
0
Wesley Finder
Top achievements
Rank 1
answered on 20 May 2010, 03:59 PM
I am the same having the problem in Google Chrome running Windows 7.  IE and Firefox are fine.
0
Dimo
Telerik team
answered on 21 May 2010, 07:01 AM
Hi all,

As mentioned earlier, I will need a runnable demo to investigate the problem, as it is not reproduced in a common scenario, e.g.

http://demos.telerik.com/aspnet-ajax/grid/examples/client/scrolling/defaultcs.aspx

Sincerely yours,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Morten Bmholt
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Kumar Nagaraju
Top achievements
Rank 1
Wesley Finder
Top achievements
Rank 1
Share this question
or