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.

AllowProportionalColumnSizing and ResizeToFit in GridControl

Thread ID:





129395 Mar 15,2017 03:47 PM Mar 16,2017 04:49 AM Windows Forms 1
Tags: GridControl
Asked On March 15, 2017 03:47 PM

How to combine these two properties in the GridControl component?
It is necessary that when the first property is true, 1 column is expanded, and the rest are left to the right

Piruthiviraj Malaimelraj [Syncfusion]
Replied On March 16, 2017 04:49 AM

Hi Slava, 
Thanks for using Syncfusion products. 
The AllowProportionalColumnSizing property is used to adjust the columns width of the grid to fit the total width of the form or where the grid is placed. If resize the any of the column by using mouse, the width of other columns will be adjusted to fit the total width of form. 
The ResizeToFit property is used to fit the column width based on its content width. If both AllowProportionalColumnSizing and ResizeToFit are used in the sample, AllowProportionalColumnSizing will be enabled and grid size will be changed to fit the Form (column widths will be equally adjusted to fit in the parent form). 
Please let us know if we misunderstood anything. 


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.