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:
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 03:59 AM
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.