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

format column width in gridgroupingview

Thread ID:

Created:

Updated:

Platform:

Replies:

64493 Jul 21,2007 01:26 PM UTC Jul 26,2007 02:40 PM UTC Windows Forms 2
loading
Tags: GridControl
wen
Asked On July 21, 2007 01:26 PM UTC

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 05:24 PM UTC

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 02:40 PM UTC

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.

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

;