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,
In my application i have 2 header rows and i want to freeze them.
when i used following code
m_PretestListingGrid.Model.Rows.FreezeRange(0,2);
m_PretestListingGrid.Model.Rows.FreezeSelection();
it freezed the first 2 data rows.
Can you tell how do we freeze the header rows?
ADAdministrator Syncfusion Team January 4, 2005 06:29 AM UTC
Row 0 is the default header and row 1 would be your second header row. So try this code:
//2 header rows
m_PretestListingGrid.Model.Rows.HeaderCount = 1;
// freeze the top 2 rows (includes headers)
m_PretestListingGrid.Model.Rows.FrozenCount = 1;