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

Changing GridBoundColumns Column Width

Thread ID:

Created:

Updated:

Platform:

Replies:

25733 Mar 4,2005 02:50 PM UTC Mar 4,2005 03:36 PM UTC WinForms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On March 4, 2005 02:50 PM UTC

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 03:32 PM UTC

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 03:36 PM UTC

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.

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

;