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


I have a GDBG with with Grid.AllowResizeToFit = true and each column .AutoSize = True ... but the grid columns don''t resize to their max width. Is this working in or am I missing some code. Thanks, Rob

1 Reply

AD Administrator Syncfusion Team January 22, 2004 01:01 PM UTC

The AutoSize property only affects text as your user types into the grid. It autosizes at that point. If you want to programatically autosize columns at some point in your code, then you have to explicitly call grid.Model.ColWidths.ResizeToFit, passing in a range and options that you might want.

Live Chat Icon For mobile
Up arrow icon