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.

resizing with minimal height/width

Thread ID:





9063 Dec 4,2003 05:34 AM Dec 4,2003 09:46 AM Windows Forms 1
Tags: GridControl
Asked On December 4, 2003 05:34 AM

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

Administrator [Syncfusion]
Replied On December 4, 2003 09:46 AM

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.


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.