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

ResizeToFit won''t be called

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon