We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Column Size

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.

1 Reply

AD Administrator Syncfusion Team June 29, 2004 04: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.

Loader.
Live Chat Icon For mobile
Up arrow icon