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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Column Size

Thread ID:





15850 Jun 29,2004 08:22 AM UTC Jun 29,2004 08:59 AM UTC WinForms 1
Tags: GridControl
Asked On June 29, 2004 08:22 AM UTC

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.

Administrator [Syncfusion]
Replied On 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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon