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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

resizing in ggc

Thread ID:





38203 Dec 8,2005 10:26 AM UTC Dec 8,2005 03:24 PM UTC WinForms 3
Tags: GridControl
Administrator [Syncfusion]
Asked On December 8, 2005 10:26 AM UTC

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

stanleyj [Syncfusion]
Replied On December 8, 2005 01:03 PM UTC

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 01:48 PM UTC

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

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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