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.
I am using GridBoundDataGrid control.
I use the gridboundcolumn property to bind the columns at design time. I want to reduce the size of the column at design time only. Right now column width is set on the basis of the header of the column. Say if the column name is "Instruction Version" I want the column header to be displayed in two lines like:
"Instruction
Version"
So that the width of the column is reduced.
Is there a way to do this?
Thanks in advance.
ADAdministrator Syncfusion Team June 29, 2004 08:59 AM UTC
I do not know of a way to do this at design-time in a GridDataBoundGrid. It can be done at run-time.
You can do it at design-time using a GridGroupingControl by setting the
this.gridGroupingControl1.TableDescriptor.Columns["someCol"].Width property and the this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight property.