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.
In the form load event i set all the columns widhts of gdbg, and at that place am calling cmbTables_SelectedIndexChanged event. in the cmbTables_SelectedIndexChanged also i mentioned the same widths of gdbg. When I executing the application, gdbg not setting the columns initially, but when i select any item from combo box then it going to set..
I want to know what was the problem ?
I want to know how to set the columns width while design time. ?
HAhaneefm Syncfusion Team June 18, 2007 07:43 PM UTC
Hi Taqi,
You can resolve the issues by setting the AllowResizeToFit property to false and set the GridResizeToFitOptions.NoShrinkSize. By default the GridDataBoundGrid tries to size the columns based on the header text. To do any other kind of sizing, you first have to turn this default sizing off or it will undo your explicit sizing. To turn off this sizing, set