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

GridControl column auto-resize question

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon