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

[Solved] Column Headers disappear if more than 200 columns bind to Grid.

4 Answers 107 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Venu Madhav Deevi
Top achievements
Rank 1
Venu Madhav Deevi asked on 22 Dec 2009, 07:21 AM
Hi,

 

We are facing a strange issue with Rad Grid control, we have to generate a report of having more than 200+ columns and when this data was bind to Rad Grid control it is getting the data on to grid initially with visible columns and then when we scroll horizontally to some extent roughly around 150+ or 200+ columns then suddenly Column headers will disappear from the Rad Grid, however the data values are still visible for the columns. We also observed that Grid will display the contents in disabled mode (with blue background and grid lines disappear after scrolling to 150+ or 200+ columns) on further scrolling of Grid horizontally.

Column headers were disappeared even when we scroll to first column from disappeared position, i.e. they were permanently removed for the Rad Grid. When we refresh the page again we can get the column headers for visible columns.

This behavior was observed with several data tables which were having more than 200+ columns and bind to Rad Grid control, please let us know is this a bug in Rad Grid or is there any limitations for Column headers in Rad Grid control.


Thanks & Regards,
Venu Madhav Deevi.

 

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 23 Dec 2009, 02:10 PM
Hi Venu Madhav Deevi,

Can you provide more info about your grid version? Do you have columns virtualization enabled or not? More info or simple project where the issue can be reproduced will help us to identify the problem.

Kind regards,
Vlad
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
Venu Madhav Deevi
Top achievements
Rank 1
answered on 24 Dec 2009, 10:28 AM
Hi Vlad,

Thanks for your reply, We are using "Q3 November 3rd Release of Telerik Rad Controls." version of Telerik controls for application and we also enabled "EnableColumnVirtualization" property true, even then the columns headers in the Grid will disappear once we scroll horizontally to 150+ or 200+ columns and Grid will display the contents in disabled mode (with blue background and grid lines disappear after scrolling to 150+ or 200+ columns).

Following is our RadGrid declaration in our Xaml file:

"<telerik:RadGridView  x:Name="dgReportView" VerticalAlignment="Center" HorizontalAlignment="Center" IsReadOnly="True" 
          Canvas.Top="373" Canvas.Left="55" AreRowDetailsFrozen="False" 
          Grid.ColumnSpan="5" Foreground="Black"  Grid.RowSpan="1" Grid.Row="5"
          FontFamily="Arial" FontSize="11" FontWeight="Bold" AutoGenerateColumns="False"
          ShowGroupPanel="True" EnableColumnVirtualization="True" >                                                   
</telerik:RadGridView>
"

These column headers were removed permanantly from Grid until we refresh the page.

You can replicate this scenario by using Rad Grid control binded to any Table or Data from an Xml file having 250 columns or elements and having 1000 records.

Please let us know how we can attach the code sample to replicate the scenario.

Thanks & Regards,
Venu Madhav Deevi.
0
Missing User
answered on 28 Dec 2009, 12:16 PM
Hi Venu Madhav Deevi,

I have tried to replicate your scenario following your  instructions and using the dlls from our service pack - Q3 2009 SP1, but unfortunately I was not able to.
Maybe I am doing something differently than you and that is why I cannot reproduce the behavior.
If you could send us your project (via support ticket)- that would be of great help for us to debug it and identify what the problem could be.

Thanks in advance.

Greetings,
Anastasia
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
Venu Madhav Deevi
Top achievements
Rank 1
answered on 29 Dec 2009, 06:49 AM

Hi Anastasia,

Thanks for your reply, we are using Q3 2009 November 3rd Release version of Telerik controls for our project.

Please find the support ticket URL below to which I have attached zip file "SilverlightApplication1.zip" for the sample code which will replicate our issue.

http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=268999

Thanks & Regards,
Venu Madhav Deevi.

Tags
GridView
Asked by
Venu Madhav Deevi
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Venu Madhav Deevi
Top achievements
Rank 1
Missing User
Share this question
or