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

resizing with minimal height/width

Is it at all possible to resize columns or rows (using ResizeToFit or some other method) using a minimal width or height. Maybe it can be obtained by setting some MinimalWidth-like property on a column but I cannot seem to find such a property

1 Reply

AD Administrator Syncfusion Team December 4, 2003 02:46 PM UTC

There is a GridResizeToFitOptions.NoShrink flag that you can set when you call ResizeToFit. This should prevent the width from shrinking during a ResizeToFit call. So, then if you somehow set the initial size of your column to be your minimum size (either using grid.DefaultColWidth or grid.Model.ColWidths[col]), then this may effectively implement a minimum size.

Loader.
Up arrow icon