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

GridControl column auto-resize question

Thread ID:

Created:

Updated:

Platform:

Replies:

54312 Jan 5,2007 11:52 AM UTC Jan 5,2007 01:37 PM UTC WinForms 1
loading
Tags: GridControl
kun
Asked On January 5, 2007 11:52 AM UTC

Hi there,

I am using a GridControl with several columns. I knew that there is a method called gridcontrol.ColWidths.ResizeToFit, but it seems that this mathod can only let columns resize according to their contents.

What I want to do is to set the columns' width always resize to fit the width of the GridControl itself. So that the columns will always occupy the entire Gridcontrol, without showing horizontal scroll bar. Are there any built-in method can achieve this?

Thanks in advance

Kun

Administrator [Syncfusion]
Replied On January 5, 2007 01:37 PM UTC

Hi Kun,

Please refer the KB links:

Automatic sizing in GridControl
To dynamically provide column width

Let us know if this is not what you needed.

Best Regards,
Haneef

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

;