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.
APAbinesh Palanisamy Syncfusion Team November 8, 2024 12:47 PM UTC
Hi Matthew,
Based on the details provided, it appears you're using a DataTable as theItemSource. In this case, you can set the width for the columns by using theSfDataGrid.AutoGeneratingColumnevent. WhenSfDataGrid.AutoGenerateColumnsis set to true, the SfDataGrid.AutoGeneratingColumn event is triggered for each GridColumn. TheColumnproperty in this event returns the created column, which can be customized as needed. We've included a sample and code snippets for your reference. Please review them for further details.