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.
STstanleyj Syncfusion Team January 21, 2006 01:39 PM UTC
Hi Vijay,
If the datagrid is GridDataBoundGrid(GDBG) then you can set it with these properties.
int extraRowHeaders = 2;
int extraColHeaders = 1;
// Initialize extra row and column header
this.gridDataBoundGrid1.Model.Rows.HeaderCount = extraRowHeaders;
this.gridDataBoundGrid1.Model.Rows.FrozenCount = extraRowHeaders;
this.gridDataBoundGrid1.Model.Cols.HeaderCount = extraColHeaders;
this.gridDataBoundGrid1.Model.Cols.FrozenCount = extraColHeaders;
FrozenCount - If you need to freeze that row/column on scrolling.
A related sample that we ship is GDBGMultiHeader under DataBound.
Best regards,
Stanley