AllowResizeToFit property not present in Grid Grouping Control

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

1 Reply

AD Administrator Syncfusion Team March 5, 2007 05:31 PM UTC

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

Loader.
Up arrow icon