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.
ADAdministrator Syncfusion Team January 5, 2006 05:47 AM UTC
Hi Hrvoje,
To change, the column width in GridControll:
// To set default column width for all Columns
this.gridControl1.DefaultColWidth = 40;
// For a particular column
this.gridControl1.ColWidths[3] = 250;
// To set a range of columns
this.gridControl1.ColWidths.SetRange(1,5,50);
To change, the column width in GridDataBoundGrid Control:
this.gridDataBoundGrid1.ResizeToFit = false;
// To set default column width for all Columns
this.gridDataBoundGrid1.DefaultColWidth = 40;
// For a particular column
this.gridDataBoundGrid1.Model.ColWidths[3] = 250;
// To set a range of columns
this.gridDataBoundGrid1.Model.ColWidths.SetRange(1,5,50);
Regards,
Madhan.