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

AllowProportionalColumnSizing and ResizeToFit in GridControl

Hello
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

1 Reply

PM Piruthiviraj Malaimelraj Syncfusion Team March 16, 2017 08:49 AM UTC

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. 
 
Regards, 
Piruthiviraj

Loader.
Live Chat Icon For mobile
Up arrow icon