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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Vertical scroll refresh problem

Thread ID:





35074 Sep 22,2005 10:05 AM UTC Sep 22,2005 12:50 PM UTC WinForms 1
Tags: GridControl
Iain Jolly
Asked On September 22, 2005 10:05 AM UTC

Hi, I have the following code within PrepareViewStyleInfo. It works correctly on load however when I V scroll the cell colours overlap. In the code below I am changing the Backcolor - What I want to do is make the repeating company name not visible. Thanks Iain //Do not display repeating company names if (e.RowIndex > 1 && e.ColIndex == 1 ) { if (e.Style.Text == _strPreviousCellC_Name) { e.Style.BackColor = system.Drawing.SystemColors.ControlDark; } else {_strPreviousCellC_Name = e.Style.Text; } }

Administrator [Syncfusion]
Replied On September 22, 2005 12:50 PM UTC

Hi Iain, Try enabling the pixel scrolling to see if that helps: private void Form1_Load(object sender, System.EventArgs e) { this.gridControl1.VScrollPixel = true; this.gridControl1.HScrollPixel = true; } Best regards, Jay N


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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