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. Image for the cookie policy date
close icon

resizing in ggc

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

3 Replies

ST stanleyj Syncfusion Team 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


AD Administrator Syncfusion Team 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)
e.Inner.Cancel=true;
Also take a look at this thread. http://www.syncfusion.com/Support/forums/message.aspx?MessageID=37984


AD Administrator Syncfusion Team December 8, 2005 03:24 PM UTC

Thank you :)

Loader.
Live Chat Icon For mobile
Up arrow icon