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

Column Size

Thread ID:

Created:

Updated:

Platform:

Replies:

15850 Jun 29,2004 04:22 AM Jun 29,2004 04:59 AM Windows Forms 1
loading
Tags: GridControl
Dmr
Asked On June 29, 2004 04:22 AM

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 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.

CONFIRMATION

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.

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.

;