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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ResizeToFit won''t be called

Thread ID:





36351 Oct 27,2005 10:08 AM UTC Oct 27,2005 10:31 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On October 27, 2005 10:08 AM UTC

Hi together, I have got a gridgroupingcontrol which is bound to a dataset object. Now when I change something in my dataset and then set the GridGroupingControl.DataSource to my dataset.Table object with an ResizeToFit call afterwards - nothing happens (The columns don''t get resized). But when I call ResizeToFit directly after changing the datatable it works. So who can I force a ResizeToFit call to work (it seems that the call sometime thinks that all columns are already in the right size). Cheers, Tim

Administrator [Syncfusion]
Replied On October 27, 2005 10:31 AM UTC

I do not understand the difference between the situation that works for you and the one that does not. Here is a little sample that brings up a GridGroupingControl autosized. It does handle a problem (through parameter settings) of the covered caption row being included in the range when you use GridRangeInfo.Table. Can you see the problem you are having in this sample? http://www.syncfusion.com/Support/user/uploads/GGC_ResizeToFit_24392bcd.zip


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

Live Chat Icon For mobile
Live Chat Icon