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.

resizing in ggc

Thread ID:





38203 Dec 8,2005 05:26 AM Dec 8,2005 10:24 AM Windows Forms 3
Tags: GridControl
Administrator [Syncfusion]
Asked On December 8, 2005 05:26 AM

Hi, How can i prenvent columns resizing just for the child tables thanks

stanleyj [Syncfusion]
Replied On December 8, 2005 08:03 AM

Hi, Try this: private void gridGroupingControl1_TableControlResizingColumns(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlResizingColumnsEventArgs e) { if(this.gridGroupingControl1.TableDescriptor.Name!=e.TableControl.TableDescriptor.Name) e.Inner.Cancel=true; } Best regards, Stanley

Administrator [Syncfusion]
Replied On December 8, 2005 08:48 AM

If you do not want to resize in a childtable named "ChildTable", then use code like this in COlumnsResizing:
if("ChildTable" != e.TableControl.TableDescriptor.Name)
Also take a look at this thread. http://www.syncfusion.com/Support/forums/message.aspx?MessageID=37984

Administrator [Syncfusion]
Replied On December 8, 2005 10:24 AM

Thank you :)


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.