We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Error scrolling with FreezeHeaders

Thread ID:

Created:

Updated:

Platform:

Replies:

129085 Feb 25,2017 08:52 AM UTC Mar 1,2017 04:26 AM UTC WinForms 4
loading
Tags: PivotGridControl
Matthijs Huisman
Asked On February 25, 2017 08:52 AM UTC

Hi,

I have a Grid with FreezeHeaders set to True. If I set ShowCalculationsAsColumns = False -> the first Row with data is also frozen, so not only the column headers as intended.

I have attached a sample project where you can see what I mean (just scroll down).

Thanks a lot!

Cheers,

Matthijs

Attachment: FreezeError_a8be4803.zip

Matthijs Huisman
Replied On February 25, 2017 09:21 AM UTC

There is also something strange with the Left Border of the row headers (see attached image of my project) -> this also happens in the sample I send above if you run the code. In the sample if you scroll it disappears, but scroll all the way down and slowly up again (a few lines at the time) it reappears...

In my project it does not disappear with scrolling...

Attachment: Border_problem_c169f618.zip

Mohanraj Gunasekaran [Syncfusion]
Replied On February 27, 2017 05:24 PM UTC

Hi Matthijs, 

Thanks for using Syncfusion products. 

Please find your responses in below table, 
Query 
Solution 
I have a Grid with FreezeHeaders set to True. If I set ShowCalculationsAsColumns = False -> the first Row with data is also frozen, so not only the column headers as intended. 

We can understand your scenario. In our current architecture, if you set the ShowCalculationsAsColumns property as false calculation column consider as a row in PivotGridControl. In order to overcome this scenario, you can use the FrozenCount property instead of FreezeHeaders property. 
 
Code example 
Me.pivotGridControl1.TableControl.FreezeHeaders = False 
            Me.pivotGridControl1.TableModel.Rows.FrozenCount = 3  
 
There is also something strange with the Left Border of the row headers (see attached image of my project) -> this also happens in the sample I send above if you run the code. In the sample if you scroll it disappears, but scroll all the way down and slowly up again (a few lines at the time) it reappears... 
 
In my project it does not disappear with scrolling... 


We can reproduce your scenario at our end so we have created a separate incident for this reported scenario. Please follow-up with that incident for further assistance.    
  
Direct-trac link:    
 

 
  
Sample link:  PivotGrid 

Regards, 
Mohanraj G 


Matthijs Huisman
Replied On February 28, 2017 08:26 AM UTC

Thank you: the FrozenCount did the trick -> it works fine now!

I will wait for further updates on the incident...

Thanks for al the effort!

Regards,
Matthijs

Mohanraj Gunasekaran [Syncfusion]
Replied On March 1, 2017 04:26 AM UTC

Hi Matthijs, 
 
Thanks for your update. 
 
We have updated your response through the incident so please follow up with that incident using your login for further assistance.     
   
Direct-trac link:     


Regards, 
Mohanraj G 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;