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.
Unfortunately, activation email could not send to your email. Please try again.

Changing GridBoundColumns Column Width

Thread ID:

Created:

Updated:

Platform:

Replies:

25733 Mar 4,2005 09:50 AM Mar 4,2005 10:36 AM Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On March 4, 2005 09:50 AM

How do i manually set the column width for GDBG ? on further searching i was able to locate this article but i think it was meant for 2.x http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=10464 We are using 3.1, so just want to make sure do i need to adopt the same approach or is there any other simple way to increase the column width... Regards Yogi

Administrator [Syncfusion]
Replied On March 4, 2005 10:32 AM

To set a column width, you use code like gridDataBoundGrid1.Model.ColWidths["Col1"] = 150; If you are trying to do this initially, you also have to set grid.AllowResizeToFit = false. If you do not, the grid''s default sizing will step on your explicit sizing.

Administrator [Syncfusion]
Replied On March 4, 2005 10:36 AM

Thx.. ideally it should be part of Grid Designer... hope u must have considered this in your next release... Thx again..

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.

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.

;