The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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;
}
}
ADAdministrator Syncfusion Team 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