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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

AllowProportionalColumnSizing and ResizeToFit in GridControl

Thread ID:

Created:

Updated:

Platform:

Replies:

129395 Mar 15,2017 07:47 PM UTC Mar 16,2017 08:49 AM UTC WinForms 1
loading
Tags: GridControl
Slava
Asked On March 15, 2017 07:47 PM UTC

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

Piruthiviraj Malaimelraj [Syncfusion]
Replied On 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

CONFIRMATION

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.

Warning Icon 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.Close Icon

;