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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

colum width GDBG in gridRecordNavigationControl

Thread ID:





78155 Dec 2,2008 11:36 AM UTC Dec 2,2008 02:08 PM UTC WinForms 1
Tags: GridControl
Hyung-Jin Lee
Asked On December 2, 2008 11:36 AM UTC

I can adjust colum width of GDBG
with below code.

GridDataBound1.Model.ColWidths["Name"] = 100;

But it didn't work when GDBG is in

Is there any way to adjust colum of GDBG ??
Please, advice to me.
Thank you very much.

Rajadurai C [Syncfusion]
Replied On December 2, 2008 02:08 PM UTC

Hi Chin,

Thanks for your interest in Syncfusion products.

Before setting column width in GDBG with the code you mentioned, please set AllowResizeToFit property to false.


this.gridDataBoundGrid1.AllowResizeToFit = false;
this.gridDataBoundGrid1.Model.ColWidths[columnname] = 100;



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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