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.

ResizeToFit won''t be called

Thread ID:

Created:

Updated:

Platform:

Replies:

36351 Oct 27,2005 06:08 AM Oct 27,2005 06:31 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On October 27, 2005 06:08 AM

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 06:31 AM

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

CONFIRMATION

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.

;