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.

AllowResizeToFit property not present in Grid Grouping Control

Thread ID:

Created:

Updated:

Platform:

Replies:

57452 Mar 5,2007 06:49 AM Mar 5,2007 12:31 PM Windows Forms 1
loading
Tags: GridControl
Manish Bafna
Asked On March 5, 2007 06:49 AM

Hi,
I am trying to explicitly set column width in grid grouping control.I have read in your forum that for this allowresizetofit needs to be set to false.But in Grid Grouping Control i am not able to get this property in intellisense.I have also searched high and low in your forum but i am not able to find any code snippet for setting column width in grid grouping control.
Please help me out.It is really urgent for me.

With Warm Regards,
Manish Bafna

Administrator [Syncfusion]
Replied On March 5, 2007 12:31 PM

Hi Manish,

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

this.gridGroupingControl1.TableDescriptor.AllowCalculateMaxColumnWidth = false;
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.

;