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.

format column width in gridgroupingview

Thread ID:

Created:

Updated:

Platform:

Replies:

64493 Jul 21,2007 09:26 AM Jul 26,2007 10:40 AM Windows Forms 2
loading
Tags: GridControl
wen
Asked On July 21, 2007 09:26 AM

I am using syncfusion 4.4.

I have a DataTable as the dataSource of a gridGroupingView, now I want to set up the width of each column in the gridGroupingviw. Thanks for helping me on this.

haneefm [Syncfusion]
Replied On July 23, 2007 01:24 PM

Hi Wen,

To change the individual column width manually, you could try this code snippet:

this.gridGroupingControl1.TableDescriptor.Columns["ColumnName"].Width = 175;

//For paticular table.
this.gridGroupingControl1.GetTableDescriptor("TableName").Columns["ColumnName"].Width=50;

Best regards,
Haneef

Wen Jiang
Replied On July 26, 2007 10:40 AM

Haneef,

Thank you very much. This is very helpful.

Wen

>Hi Wen,

To change the individual column width manually, you could try this code snippet:

this.gridGroupingControl1.TableDescriptor.Columns["ColumnName"].Width = 175;

//For paticular table.
this.gridGroupingControl1.GetTableDescriptor("TableName").Columns["ColumnName"].Width=50;

Best regards,
Haneef

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.

;